From 2a45650dcc87c3bf047adaf030fd392bbe9fbb5e Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 4 May 2022 23:04:19 +0200 Subject: Keyed pairs --- tests/typ/code/array.typ | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/typ/code/array.typ') diff --git a/tests/typ/code/array.typ b/tests/typ/code/array.typ index 58b43ebf..1fa4d13c 100644 --- a/tests/typ/code/array.typ +++ b/tests/typ/code/array.typ @@ -92,3 +92,7 @@ // Named pair after this is already identified as an array. // Error: 6-10 expected expression, found named pair {(1, b: 2)} + +// Keyed pair after this is already identified as an array. +// Error: 6-14 expected expression, found keyed pair +{(1, "key": 2)} -- cgit v1.2.3