Skip to content

Commit 7ac5c01

Browse files
eregonandrykonchin
authored andcommitted
Copy newline flag for ForNode
1 parent be2b46e commit 7ac5c01

16 files changed

+16
-15
lines changed

spec/truffle/parsing/fixtures/for/multi_assignment/with_multiple_variables.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ast: |
4949
CatchBreakNode
5050
attributes:
5151
breakID = org.truffleruby.language.control.BreakID@...
52-
flags = 0
52+
flags = 1
5353
isWhile = false
5454
children:
5555
body =

spec/truffle/parsing/fixtures/for/multi_assignment/with_nested_multi_assignment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ast: |
4949
CatchBreakNode
5050
attributes:
5151
breakID = org.truffleruby.language.control.BreakID@...
52-
flags = 0
52+
flags = 1
5353
isWhile = false
5454
children:
5555
body =

spec/truffle/parsing/fixtures/for/multi_assignment/with_preceding_splat_operator_and_following_variables.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ast: |
4949
CatchBreakNode
5050
attributes:
5151
breakID = org.truffleruby.language.control.BreakID@...
52-
flags = 0
52+
flags = 1
5353
isWhile = false
5454
children:
5555
body =

spec/truffle/parsing/fixtures/for/multi_assignment/with_preceding_variables_and_implicit_rest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ast: |
4949
CatchBreakNode
5050
attributes:
5151
breakID = org.truffleruby.language.control.BreakID@...
52-
flags = 0
52+
flags = 1
5353
isWhile = false
5454
children:
5555
body =

spec/truffle/parsing/fixtures/for/multi_assignment/with_preceding_variables_and_splat_operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ast: |
4949
CatchBreakNode
5050
attributes:
5151
breakID = org.truffleruby.language.control.BreakID@...
52-
flags = 0
52+
flags = 1
5353
isWhile = false
5454
children:
5555
body =

spec/truffle/parsing/fixtures/for/multi_assignment/with_splat_operator_and_following_variables.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ast: |
4949
CatchBreakNode
5050
attributes:
5151
breakID = org.truffleruby.language.control.BreakID@...
52-
flags = 0
52+
flags = 1
5353
isWhile = false
5454
children:
5555
body =

spec/truffle/parsing/fixtures/for/with_attribute_assignment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ast: |
4949
CatchBreakNode
5050
attributes:
5151
breakID = org.truffleruby.language.control.BreakID@...
52-
flags = 0
52+
flags = 1
5353
isWhile = false
5454
children:
5555
body =

spec/truffle/parsing/fixtures/for/with_class_variable.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ast: |
4949
CatchBreakNode
5050
attributes:
5151
breakID = org.truffleruby.language.control.BreakID@...
52-
flags = 0
52+
flags = 1
5353
isWhile = false
5454
children:
5555
body =

spec/truffle/parsing/fixtures/for/with_constant.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ast: |
4949
CatchBreakNode
5050
attributes:
5151
breakID = org.truffleruby.language.control.BreakID@...
52-
flags = 0
52+
flags = 1
5353
isWhile = false
5454
children:
5555
body =

spec/truffle/parsing/fixtures/for/with_fully_qualified_constant.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ast: |
4949
CatchBreakNode
5050
attributes:
5151
breakID = org.truffleruby.language.control.BreakID@...
52-
flags = 0
52+
flags = 1
5353
isWhile = false
5454
children:
5555
body =

0 commit comments

Comments
 (0)