We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
&nil
1 parent d065304 commit 02bcaecCopy full SHA for 02bcaec
1 file changed
test/prism/errors/4.1/multiple_blocks.txt
@@ -0,0 +1,12 @@
1
+def foo(&nil, &nil); end
2
+ ^ unexpected parameter order
3
+ ^~~~ multiple block parameters; only one block is allowed
4
+
5
+def foo(&foo, &nil); end
6
7
8
9
+def foo(&nil, &foo); end
10
11
12
0 commit comments