Skip to content

Commit 7e13d5c

Browse files
committed
Fix coercion table for list
1 parent 3adfcca commit 7e13d5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/Section 3 -- Type System.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1780,7 +1780,9 @@ Following are examples of input coercion with various list types and values:
17801780
| `[Int]` | `1` | `[1]` |
17811781
| `[Int]` | `null` | `null` |
17821782
| `[[Int]]` | `[[1], [2, 3]]` | `[[1], [2, 3]]` |
1783-
| `[[Int]]` | `[1, 2, 3]` | Error: Incorrect item value |
1783+
| `[[Int]]` | `[1, 2, 3]` | `[[1], [2], [3]]` |
1784+
| `[[Int]]` | `[1, null, 3]` | `[[1], null, [3]]` |
1785+
| `[[Int]]` | `[[1], ["b"]]` | Error: Incorrect item value |
17841786
| `[[Int]]` | `1` | `[[1]]` |
17851787
| `[[Int]]` | `null` | `null` |
17861788

0 commit comments

Comments
 (0)