summaryrefslogtreecommitdiff
path: root/test/prism/errors/shadow_args_in_lambda.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/errors/shadow_args_in_lambda.txt')
-rw-r--r--test/prism/errors/shadow_args_in_lambda.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/prism/errors/shadow_args_in_lambda.txt b/test/prism/errors/shadow_args_in_lambda.txt
new file mode 100644
index 0000000000..7fc78d7d8f
--- /dev/null
+++ b/test/prism/errors/shadow_args_in_lambda.txt
@@ -0,0 +1,5 @@
+->a;b{}
+ ^ expected a `do` keyword or a `{` to open the lambda block
+ ^ unexpected end-of-input, assuming it is closing the parent top level context
+^~ expected a lambda block beginning with `do` to end with `end`
+