From bc1bc91a33bcef567dbd7f846dbfac9d19a0994e Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 16 May 2022 15:55:50 +0200 Subject: Allow adding `none` and anything --- tests/typ/code/dict.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/typ/code/dict.typ') diff --git a/tests/typ/code/dict.typ b/tests/typ/code/dict.typ index 182f53d9..344d8efc 100644 --- a/tests/typ/code/dict.typ +++ b/tests/typ/code/dict.typ @@ -39,8 +39,8 @@ // Missing lvalue is automatically none-initialized. { let dict = (:) - // Error: 3-17 cannot add none and integer dict("b") += 1 + test(dict, (b: 1)) } --- -- cgit v1.2.3