summaryrefslogtreecommitdiff
path: root/tests/typ/code/closure.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-07-09 10:50:25 +0200
committerLaurenz <laurmaedje@gmail.com>2021-07-09 10:50:25 +0200
commit9950627789358b4d46c7fd8ba20d1428aee7bf01 (patch)
tree9cad73f1f7abe6b6768575776d0c3cd1af8c6c33 /tests/typ/code/closure.typ
parent4fb58acafde3ca7020a980bd1e0a3585a47ca4f0 (diff)
Even shorter error annotations
Error annotations are now relative to the first following non-comment line.
Diffstat (limited to 'tests/typ/code/closure.typ')
-rw-r--r--tests/typ/code/closure.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/code/closure.typ b/tests/typ/code/closure.typ
index 402df799..20a5f18d 100644
--- a/tests/typ/code/closure.typ
+++ b/tests/typ/code/closure.typ
@@ -68,7 +68,7 @@
{
let f(x) = x + 1
- // Error: 2:10-2:15 unexpected argument
- // Error: 1:17-1:24 unexpected argument
+ // Error: 10-15 unexpected argument
+ // Error: 17-24 unexpected argument
f(1, "two", () => x)
}