Skip to content

Commit 59cb12d

Browse files
authored
Update spec/Section 3 -- Type System.md
1 parent 08abf49 commit 59cb12d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/Section 3 -- Type System.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,7 @@ Literal Value | Variables | Coerced Value
16681668
`$var` | `{ var: { a: "abc" } }` | `{ a: "abc" }`
16691669
`{ a: "abc", b: null }` | `{}` | Error: Exactly one key must be specified
16701670
`{ b: $var }` | `{ var: null }` | Error: Value for member field {b} must be non-null
1671-
`{ b: 123, c: "xyz" }` | `{}` | Error: Exactly one key must be specified
1671+
`{ b: 123, c: "xyz" }` | `{}` | Error: Unexpected field {c}
16721672
`{ a: $a, b: $b }` | `{ a: "abc" }` | Error: Exactly one key must be specified
16731673

16741674
**Type Validation**

0 commit comments

Comments
 (0)