Skip to content

Commit

Permalink
Fix coercion table for list (#1057)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie authored Nov 21, 2024
1 parent 7073e3a commit df1acea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/Section 3 -- Type System.md
Original file line number Diff line number Diff line change
Expand Up @@ -1780,7 +1780,9 @@ Following are examples of input coercion with various list types and values:
| `[Int]` | `1` | `[1]` |
| `[Int]` | `null` | `null` |
| `[[Int]]` | `[[1], [2, 3]]` | `[[1], [2, 3]]` |
| `[[Int]]` | `[1, 2, 3]` | Error: Incorrect item value |
| `[[Int]]` | `[1, 2, 3]` | `[[1], [2], [3]]` |
| `[[Int]]` | `[1, null, 3]` | `[[1], null, [3]]` |
| `[[Int]]` | `[[1], ["b"]]` | Error: Incorrect item value |
| `[[Int]]` | `1` | `[[1]]` |
| `[[Int]]` | `null` | `null` |

Expand Down

0 comments on commit df1acea

Please sign in to comment.