Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Commit

Permalink
doc/ref/spec.md: fix typos
Browse files Browse the repository at this point in the history
This PR fixes 3 typos in the spec.

Closes #954
#954

GitOrigin-RevId: cbebd27
Change-Id: Id70a300a695390404297d44b32dd811f6fef7164
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9781
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
  • Loading branch information
deining authored and mpvl committed May 11, 2021
1 parent 30abd66 commit 48ddb2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/ref/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ float | *1 1

### Bottom and errors

Any evaluation error in CUE results in a bottom value, respresented by
Any evaluation error in CUE results in a bottom value, represented by
the token `_|_`.
Bottom is an instance of every other value.
Any evaluation error is represented as bottom.
Expand Down Expand Up @@ -1973,7 +1973,7 @@ If `x` is a package name, see the section on [qualified identifiers](#qualified-

<!--
TODO: consider allowing this and also for selectors. It needs to be considered
how defaults are corried forward in cases like:
how defaults are carried forward in cases like:
x: { a: string | *"foo" } | *{ a: int | *4 }
y: x.a & string
Expand Down Expand Up @@ -2941,7 +2941,7 @@ or the identifier following it.
Note: this deviates from the Go spec where there is no such restriction.
This restriction has the benefit of being to determine the identifiers
for packages from within the file itself. But for CUE it is has another benefit:
when using package hiearchies, one is more likely to want to include multiple
when using package hierarchies, one is more likely to want to include multiple
packages within the same directory structure. This mechanism allows
disambiguation in these cases.
-->
Expand Down

0 comments on commit 48ddb2b

Please sign in to comment.