summaryrefslogtreecommitdiff
path: root/test/prism/errors/command_calls_32.txt
blob: 14488ca3355e255305f7c84686b84b579fcd1274 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
foo && return bar
              ^~~ unexpected local variable or method, expecting end-of-input

tap { foo && break bar }
                   ^~~ unexpected local variable or method, expecting end-of-input

tap { foo && next bar }
                  ^~~ unexpected local variable or method, expecting end-of-input

foo && return()
             ^ unexpected '(', expecting end-of-input

foo && return(bar)
             ^ unexpected '(', expecting end-of-input

foo && return(bar, baz)
             ^~~~~~~~~~ unexpected write target
             ^ unexpected '(', expecting end-of-input