summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarmare314 <49279081+Marmare314@users.noreply.github.com>2023-05-03 12:42:26 +0200
committerGitHub <noreply@github.com>2023-05-03 12:42:26 +0200
commitdb6a710638cf26ddcd09b8fba74b9d1caf6cb4b8 (patch)
tree4dceb9bbcbb2342c40e84342be502e919b939a8f /tests
parentffad8516af0b91121dc0761c8026e0a12939a7d4 (diff)
Parameter pattern bug (#1062)
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/bugs/parameter-pattern.typ5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/bugs/parameter-pattern.typ b/tests/typ/bugs/parameter-pattern.typ
new file mode 100644
index 00000000..31b07f2c
--- /dev/null
+++ b/tests/typ/bugs/parameter-pattern.typ
@@ -0,0 +1,5 @@
+// Test that underscore works in parameter patterns.
+// Ref: false
+
+---
+#test((1, 2, 3).zip((1, 2, 3)).map(((_, x)) => x), (1, 2, 3))