From 7e13d5c2cb8a38229d602a7a7e37d81fbbb84c00 Mon Sep 17 00:00:00 2001 From: Benjie Gillam Date: Thu, 9 Nov 2023 15:32:30 +0000 Subject: [PATCH] Fix coercion table for list --- spec/Section 3 -- Type System.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/Section 3 -- Type System.md b/spec/Section 3 -- Type System.md index d32b08566..08a38a244 100644 --- a/spec/Section 3 -- Type System.md +++ b/spec/Section 3 -- Type System.md @@ -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` |