summaryrefslogtreecommitdiff
path: root/test/prism/errors/non_assoc_equality.txt
blob: 9b3f13754913a9a919d970dd572f1a110fea9973 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
1 == 2 == 3
       ^~ unexpected '=='; '==' is a non-associative operator
       ^~ unexpected '==', expecting end-of-input
       ^~ unexpected '==', ignoring it
1 != 2 != 3
       ^~ unexpected '!='; '!=' is a non-associative operator
       ^~ unexpected '!=', expecting end-of-input
       ^~ unexpected '!=', ignoring it
1 === 2 === 3
        ^~~ unexpected '==='; '===' is a non-associative operator
        ^~~ unexpected '===', expecting end-of-input
        ^~~ unexpected '===', ignoring it
1 =~ 2 =~ 3
       ^~ unexpected '=~'; '=~' is a non-associative operator
       ^~ unexpected '=~', expecting end-of-input
       ^~ unexpected '=~', ignoring it
1 !~ 2 !~ 3
       ^~ unexpected '!~'; '!~' is a non-associative operator
       ^~ unexpected '!~', expecting end-of-input
       ^~ unexpected '!~', ignoring it
1 <=> 2 <=> 3
        ^~~ unexpected '<=>'; '<=>' is a non-associative operator
        ^~~ unexpected '<=>', expecting end-of-input
        ^~~ unexpected '<=>', ignoring it