Skip to content

Commit ebfdce1

Browse files
eregonandrykonchin
authored andcommitted
Set correct newline flags with YARP
* I reviewed all of these and these changes all seem more correct.
1 parent 10b5059 commit ebfdce1

File tree

89 files changed

+156
-156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+156
-156
lines changed

spec/truffle/parsing/fixtures/aliases/with_dynamic_symbols_and_interpolation_arbitrary_expression.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ ast: |
3939
valueNode_ =
4040
IntegerFixnumLiteralNode
4141
attributes:
42-
flags = 1
42+
flags = 0
4343
value = 42
4444
ToSNodeGen
4545
children:

spec/truffle/parsing/fixtures/defined/with_yield_not_in_method.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ ast: |
7070
body =
7171
NilLiteralNode
7272
attributes:
73-
flags = 0
73+
flags = 1
7474
isImplicit = false
7575
]

spec/truffle/parsing/fixtures/ensure/in_begin_end_block.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ast: |
3333
flags = 0
3434
EnsureNodeGen
3535
attributes:
36-
flags = 1
36+
flags = 0
3737
children:
3838
ensurePart =
3939
RubyCallNode

spec/truffle/parsing/fixtures/hashes/literal.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ruby: |
1111
ast: |
1212
PackedHashStoreLibraryFactory$SmallHashLiteralNodeGen
1313
attributes:
14-
flags = 0
14+
flags = 1
1515
children:
1616
keyValues = [
1717
ObjectLiteralNode

spec/truffle/parsing/fixtures/hashes/with_=>_syntax.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ruby: |
66
ast: |
77
PackedHashStoreLibraryFactory$SmallHashLiteralNodeGen
88
attributes:
9-
flags = 0
9+
flags = 1
1010
children:
1111
keyValues = [
1212
IntegerFixnumLiteralNode

spec/truffle/parsing/fixtures/hashes/with_double_splat_operator/with_double_splat.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ruby: |
88
ast: |
99
HashCastNodeGen$HashCastASTNodeGen
1010
attributes:
11-
flags = 0
11+
flags = 1
1212
children:
1313
childNode_ =
1414
RubyCallNode

spec/truffle/parsing/fixtures/hashes/with_string_key.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ruby: |
88
ast: |
99
PackedHashStoreLibraryFactory$SmallHashLiteralNodeGen
1010
attributes:
11-
flags = 0
11+
flags = 1
1212
children:
1313
keyValues = [
1414
FrozenStringLiteralNode

spec/truffle/parsing/fixtures/hashes/with_symbol_syntax.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ruby: |
66
ast: |
77
PackedHashStoreLibraryFactory$SmallHashLiteralNodeGen
88
attributes:
9-
flags = 0
9+
flags = 1
1010
children:
1111
keyValues = [
1212
ObjectLiteralNode

spec/truffle/parsing/fixtures/hashes/with_symbol_syntax_when_dynamic_symbol.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ruby: |
66
ast: |
77
PackedHashStoreLibraryFactory$SmallHashLiteralNodeGen
88
attributes:
9-
flags = 0
9+
flags = 1
1010
children:
1111
keyValues = [
1212
ObjectLiteralNode

spec/truffle/parsing/fixtures/hashes/with_symbol_syntax_when_dynamic_symbol_and_interpolation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ruby: |
66
ast: |
77
PackedHashStoreLibraryFactory$SmallHashLiteralNodeGen
88
attributes:
9-
flags = 0
9+
flags = 1
1010
children:
1111
keyValues = [
1212
StringToSymbolNodeGen
@@ -34,7 +34,7 @@ ast: |
3434
valueNode_ =
3535
IntegerFixnumLiteralNode
3636
attributes:
37-
flags = 1
37+
flags = 0
3838
value = 100500
3939
]
4040
IntegerFixnumLiteralNode

0 commit comments

Comments
 (0)