summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/ops-prec.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-30 15:13:28 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-30 16:45:41 +0100
commitf70cea508cd30fa40770ea989fe2a19e715a357b (patch)
tree731bb96b375dc8fd0f7e5a2a7e1d1fe5cb2a600e /tests/typ/compiler/ops-prec.typ
parentfe1f4400693690b68db5a7ec0976ba998624a740 (diff)
Remove index syntax in favor of accessor methods
Diffstat (limited to 'tests/typ/compiler/ops-prec.typ')
-rw-r--r--tests/typ/compiler/ops-prec.typ4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/typ/compiler/ops-prec.typ b/tests/typ/compiler/ops-prec.typ
index 23afcc5f..eba0c8a9 100644
--- a/tests/typ/compiler/ops-prec.typ
+++ b/tests/typ/compiler/ops-prec.typ
@@ -12,8 +12,10 @@
#test("a" == "a" and 2 < 3, true)
#test(not "b" == "b", false)
+---
// Assignment binds stronger than boolean operations.
-// Error: 2-7 cannot mutate a temporary value
+// Error: 2:2-2:7 cannot mutate a temporary value
+#let x = false
{not x = "a"}
---