From db6a710638cf26ddcd09b8fba74b9d1caf6cb4b8 Mon Sep 17 00:00:00 2001 From: Marmare314 <49279081+Marmare314@users.noreply.github.com> Date: Wed, 3 May 2023 12:42:26 +0200 Subject: Parameter pattern bug (#1062) --- tests/typ/bugs/parameter-pattern.typ | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/typ/bugs/parameter-pattern.typ (limited to 'tests/typ/bugs/parameter-pattern.typ') 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)) -- cgit v1.2.3