From 03cbdea4b4dd81929743154ad79835bfbdf63db3 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 12 Feb 2023 10:17:35 +0100 Subject: Fix "not in" precedence --- tests/typ/compiler/ops-prec.typ | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/typ') diff --git a/tests/typ/compiler/ops-prec.typ b/tests/typ/compiler/ops-prec.typ index 2fa90382..e243a640 100644 --- a/tests/typ/compiler/ops-prec.typ +++ b/tests/typ/compiler/ops-prec.typ @@ -23,6 +23,10 @@ // Error: 3-12 cannot apply '-' to boolean #{-not true} +--- +// Not in handles precedence. +#test(-1 not in (1, 2, 3), true) + --- // Parentheses override precedence. #test((1), 1) -- cgit v1.2.3