From df1acea882d28df22184a7c12449864b239b9dd7 Mon Sep 17 00:00:00 2001 From: Benjie Date: Thu, 21 Nov 2024 20:14:09 +0000 Subject: [PATCH] Fix coercion table for list (#1057) --- 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 4f9356f0c..e52519fb7 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` |