diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-12 10:17:35 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-12 10:17:35 +0100 |
| commit | 03cbdea4b4dd81929743154ad79835bfbdf63db3 (patch) | |
| tree | e09596138454db8912b68a896b8354ac64ee37e4 /tests/typ | |
| parent | ebe919220d8b8f2966c15d73df82f20f38f4f9d5 (diff) | |
Fix "not in" precedence
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/compiler/ops-prec.typ | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ -24,6 +24,10 @@ #{-not true} --- +// Not in handles precedence. +#test(-1 not in (1, 2, 3), true) + +--- // Parentheses override precedence. #test((1), 1) #test((1+2)*-3, -9) |
