You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/tags/truffle/parsing/parsing_tags.txt
+5-78Lines changed: 5 additions & 78 deletions
Original file line number
Diff line number
Diff line change
@@ -2,86 +2,27 @@ fails:Parsing a BEGIN block (BEGIN { ... }) case is parsed correctly
2
2
fails:Parsing a END block (END { ... }) case is parsed correctly
3
3
fails:Parsing a Encoding keyword (__ENCODING__ keyword) case is parsed correctly
4
4
fails:Parsing a begin ... end block (with multiple expressions inside a block) case is parsed correctly
5
-
fails:Parsing a Block (Argument descriptors / when numbered parameters used in a block) case is parsed correctly
6
-
fails:Parsing a Block (Argument descriptors / with block (def a(&b))) case is parsed correctly
7
-
fails:Parsing a Block (Argument descriptors / with double splat operator (**kw)) case is parsed correctly
8
-
fails:Parsing a Block (Argument descriptors / with double splat operator without variable name (**)) case is parsed correctly
9
-
fails:Parsing a Block (Argument descriptors / with keyword arguments) case is parsed correctly
10
-
fails:Parsing a Block (Argument descriptors / with optional keyword arguments) case is parsed correctly
11
-
fails:Parsing a Block (Argument descriptors / with optional positional parameters) case is parsed correctly
12
-
fails:Parsing a Block (Argument descriptors / when multiple positional parameters only) case is parsed correctly
13
-
fails:Parsing a Block (Argument descriptors / with splat operator and preceding and following parameters) case is parsed correctly
14
-
fails:Parsing a Block (Argument descriptors / with splat operator without name and preceding and following parameters) case is parsed correctly
5
+
6
+
# issue with implicit rest parameters is tracked here:
7
+
# - https://bugs.ruby-lang.org/issues/19971
8
+
# - https://github.com/ruby/prism/issues/1722
15
9
fails:Parsing a Block (Argument descriptors / with implicit rest parameter (|a,|)) case is parsed correctly
16
-
fails:Parsing a Block (Arity / with block (def a(&b))) case is parsed correctly
17
-
fails:Parsing a Block (Arity / with double splat operator (**kw)) case is parsed correctly
18
-
fails:Parsing a Block (Arity / with keyword arguments) case is parsed correctly
19
-
fails:Parsing a Block (Arity / with optional keyword arguments) case is parsed correctly
20
-
fails:Parsing a Block (Arity / with optional positional parameters) case is parsed correctly
21
-
fails:Parsing a Block (Arity / when multiple positional parameters only) case is parsed correctly
22
-
fails:Parsing a Block (Arity / when numbered parameters used in a block) case is parsed correctly
23
-
fails:Parsing a Block (Arity / with splat operator and preceding and following parameters) case is parsed correctly
24
10
fails:Parsing a Block (Arity / with implicit rest parameter (|a,|)) case is parsed correctly
25
-
fails:Parsing a Block (Destructuring array argument / when no rest positional parameter but optional parameters count > 1 - it tries to destruct) case is parsed correctly
26
-
fails:Parsing a Block (Destructuring array argument / when no rest positional parameter but required parameters count > 1 - it tries to destruct) case is parsed correctly
27
-
fails:Parsing a Block (Destructuring array argument / when no rest positional parameter but one required parameter and one optional one - it tries to destruct) case is parsed correctly
28
-
fails:Parsing a Block (Destructuring array argument / when rest positional parameter and multiple required terminating ones - it tries to destruct) case is parsed correctly
29
-
fails:Parsing a Block (Destructuring array argument / when rest positional parameter and multiple required ones - it tries to destruct) case is parsed correctly
30
-
fails:Parsing a Block (Destructuring array argument / when no positional parameters (required/optional/rest) - it doesn't try to destruct) case is parsed correctly
31
-
fails:Parsing a Block (Destructuring array argument / when one optional positional parameter - it doesn't try to destruct) case is parsed correctly
32
-
fails:Parsing a Block (Destructuring array argument / when one required positional parameter - it doesn't try to destruct) case is parsed correctly
33
-
fails:Parsing a Block (Destructuring array argument / when no positional parameters but a rest parameter - it doesn't try to destruct) case is parsed correctly
34
-
fails:Parsing a Block (Destructuring array argument / when a rest parameter and optional positional parameters - it doesn't try to destruct) case is parsed correctly
35
-
fails:Parsing a Block (Name / in a block) case is parsed correctly
36
-
fails:Parsing a Block (Name / in a method) case is parsed correctly
37
-
fails:Parsing a Block (Name / at top level) case is parsed correctly
38
-
fails:Parsing a Block (Parameters to local variables / with block (proc { |&b| })) case is parsed correctly
39
-
fails:Parsing a Block (Parameters to local variables / with double splat operator (**kw)) case is parsed correctly
40
-
fails:Parsing a Block (Parameters to local variables / with keyword arguments) case is parsed correctly
41
-
fails:Parsing a Block (Parameters to local variables / with optional keyword arguments) case is parsed correctly
42
-
fails:Parsing a Block (Parameters to local variables / with optional positional parameters) case is parsed correctly
43
-
fails:Parsing a Block (Parameters to local variables / when multiple positional parameters only) case is parsed correctly
44
-
fails:Parsing a Block (Parameters to local variables / when numbered parameters used in a block) case is parsed correctly
45
-
fails:Parsing a Block (Parameters to local variables / with splat operator and preceding and following parameters) case is parsed correctly
46
-
fails:Parsing a Block (Parameters to local variables / without parameters) case is parsed correctly
47
-
fails:Parsing a Block (Tail expression / with explicit return inside then branch of the `if` operator) case is parsed correctly
48
-
fails:Parsing a Block (Tail expression / with explicit return inside then/else branches of the `if` operator) case is parsed correctly
49
-
fails:Parsing a Block (Tail expression / with explicit return at the end of a sequence of multiple expressions) case is parsed correctly
50
-
fails:Parsing a Block (Tail expression / with explicit return) case is parsed correctly
51
-
fails:Parsing a Block (Tail expression / with explicit return inside then branch of the `unless` operator) case is parsed correctly
52
-
fails:Parsing a Block (a block with empty body) case is parsed correctly
53
-
fails:Parsing a Block (a block with not empty body) case is parsed correctly
54
-
fails:Parsing a Block (a block without parameters) case is parsed correctly
55
-
fails:Parsing a Break (within a block) case is parsed correctly
11
+
56
12
fails:Parsing a class << (reopen an object singleton class) case is parsed correctly
57
13
fails:Parsing a Complex number (Complex literal `bri` (without real part) where b is Float is represented as `Complext.convert(0, Rational.convert(b*100, 100))` where 100 is some power of 10 to convert b to Integer) case is parsed correctly
58
14
fails:Parsing a Complex number (Complex literal `bri` (without real part) where b is Integer is represented as `Complext.convert(0, Rational.convert(b, 1))`) case is parsed correctly
59
15
fails:Parsing a Complex number (Complex literal in format of a + bi is represented as `a + Complex.convert(0, b)`) case is parsed correctly
60
16
fails:Parsing a Def (Name / Non singleton / in an anonymous module) case is parsed correctly
61
17
fails:Parsing a Def (Name / Singleton / in an anonymous module) case is parsed correctly
62
18
fails:Parsing a defined? (with yield in a method body (defined? yield)) case is parsed correctly
63
-
fails:Parsing a Ensure keyword (ensure in a do/end block) case is parsed correctly
64
19
fails:Parsing a Ensure keyword (ensure in a method) case is parsed correctly
65
20
fails:Parsing a For operator (for ... in ... operator) case is parsed correctly
66
21
fails:Parsing a Integer (when doesn't fit into Java Long (>= 64 bits)) case is parsed correctly
67
-
fails:Parsing a Lambda (literal `-> () { ... }`) case is parsed correctly
68
-
fails:Parsing a Local variable (in a block / reading a local variable) case is parsed correctly
69
-
fails:Parsing a Local variable (in a block / assigning a local variable new value) case is parsed correctly
70
-
fails:Parsing a Local variable (in a block but defined in an outer scope / reading a local variable) case is parsed correctly
71
-
fails:Parsing a Local variable (in a block but defined in an outer scope / assigning a local variable new value) case is parsed correctly
72
22
fails:Parsing a Method call (super / in a method body with explicit arguments) case is parsed correctly
73
23
fails:Parsing a Method call (super / in a method body without explicit arguments) case is parsed correctly
74
24
fails:Parsing a Method call (super / outside a method body with explicit arguments) case is parsed correctly
75
25
fails:Parsing a Method call (super / outside a method body without explicit arguments) case is parsed correctly
76
-
fails:Parsing a Method call (Arguments/with a &-deconstruction to a block argument (&bar)) case is parsed correctly
77
-
fails:Parsing a Method call (Arguments/with block literal argument) case is parsed correctly
78
-
fails:Parsing a Method call (Arguments/with double splat operator (**kw)) case is parsed correctly
79
-
fails:Parsing a Method call (Arguments/with keyword arguments) case is parsed correctly
80
-
fails:Parsing a Method call (Arguments/with positional argument and splat operator (a, *args)) case is parsed correctly
81
-
fails:Parsing a Method call (Arguments/with splat operator (*args)) case is parsed correctly
82
-
fails:Parsing a Method call (Arguments/with splat operator and positional arguments (*args, a)) case is parsed correctly
83
-
fails:Parsing a Method call (Special cases/method #lambda (Kernel#lambda)) case is parsed correctly
84
-
fails:Parsing a Method call (Special cases/method #lambda (not Kernel#lambda)) case is parsed correctly
85
26
fails:Parsing a Method call (super / in a method body with explicit arguments) case is parsed correctly
86
27
fails:Parsing a Method call (super / in a method body without explicit arguments) case is parsed correctly
87
28
fails:Parsing a Method call (super / outside a method body with explicit arguments) case is parsed correctly
@@ -95,9 +36,6 @@ fails:Parsing a &&= (Variable assignment/fully qualified constant (::A &&= b)) c
95
36
fails:Parsing a &&= (Variable assignment/global variable ($a &&= b)) case is parsed correctly
96
37
fails:Parsing a &&= (Variable assignment/instance variable (@a &&= b)) case is parsed correctly
97
38
fails:Parsing a &&= (Variable assignment/local variable (a &&= b)) case is parsed correctly
98
-
fails:Parsing a Flip-flop operator (in a block) case is parsed correctly
99
-
fails:Parsing a Flip-flop operator (in a lambda) case is parsed correctly
100
-
fails:Parsing a Flip-flop operator (in a method) case is parsed correctly
101
39
fails:Parsing a Match (=~ operator) case is parsed correctly
102
40
fails:Parsing a Match (=~ operator/with Regexp literal as a RHS) case is parsed correctly
103
41
fails:Parsing a Match (=~ operator/with Regexp literal as a LHS (without named capture groups)) case is parsed correctly
@@ -135,7 +73,6 @@ fails:Parsing a Rescue keyword (backtrace optimization / disabled / when rescue
135
73
fails:Parsing a Rescue keyword (backtrace optimization / disabled / when rescue section is Regexp (... rescue /a/)) case is parsed correctly
136
74
fails:Parsing a Rescue keyword (backtrace optimization / enabled / when rescue section is __FILE__ constant (... rescue __FILE__)) case is parsed correctly
137
75
fails:Parsing a Rescue keyword (backtrace optimization / enabled / when rescue section is local variable defined in outer scope (... rescue a)) case is parsed correctly
138
-
fails:Parsing a Rescue keyword (rescue in a do/end block) case is parsed correctly
139
76
fails:Parsing a Rescue keyword (rescue in a method) case is parsed correctly
140
77
fails:Parsing a Rescue keyword (modifier / backtrace optimization / disabled / when rescue section is Range (... rescue 1..3)) case is parsed correctly
141
78
fails:Parsing a Rescue keyword (modifier / backtrace optimization / disabled / when rescue section is Regexp (... rescue /a/)) case is parsed correctly
0 commit comments