Skip to content

Commit

Permalink
Fix coercion table for list
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Nov 9, 2023
1 parent 3adfcca commit 7e13d5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/Section 3 -- Type System.md
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 7e13d5c

Please sign in to comment.