Skip to content

Commit 64e29ba

Browse files
Earlopainkddnewton
authored andcommitted
Fix some locations in the the config
1 parent 1d3db9b commit 64e29ba

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

config.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,19 +1046,19 @@ nodes:
10461046
Represents an array pattern in pattern matching.
10471047
10481048
foo in 1, 2
1049-
^^^^^^^^^^^
1049+
^^^^
10501050
10511051
foo in [1, 2]
1052-
^^^^^^^^^^^^^
1052+
^^^^^^
10531053
10541054
foo in *bar
1055-
^^^^^^^^^^^
1055+
^^^^
10561056
10571057
foo in Bar[]
1058-
^^^^^^^^^^^^
1058+
^^^^^
10591059
10601060
foo in Bar[1, 2, 3]
1061-
^^^^^^^^^^^^^^^^^^^
1061+
^^^^^^^^^^^^
10621062
- name: AssocNode
10631063
fields:
10641064
- name: key
@@ -1167,7 +1167,7 @@ nodes:
11671167
Represents the else clause within the begin block.
11681168
11691169
begin x; rescue y; else z; end
1170-
^^^^^^
1170+
^^^^^^^^^^^
11711171
- name: ensure_clause
11721172
type: node?
11731173
kind: EnsureNode
@@ -1200,7 +1200,7 @@ nodes:
12001200
The expression that is being passed as a block argument. This can be any [non-void expression](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
12011201
12021202
foo(&args)
1203-
^^^^^
1203+
^^^^
12041204
- name: operator_loc
12051205
type: location
12061206
comment: |
@@ -1212,7 +1212,7 @@ nodes:
12121212
Represents a block argument using `&`.
12131213
12141214
bar(&args)
1215-
^^^^^^^^^^
1215+
^^^^^
12161216
- name: BlockLocalVariableNode
12171217
flags: ParameterFlags
12181218
fields:
@@ -1753,7 +1753,7 @@ nodes:
17531753
Represents assigning to a local variable in pattern matching.
17541754
17551755
foo => [bar => baz]
1756-
^^^^^^^^^^^^
1756+
^^^^^^^^^^
17571757
- name: CaseMatchNode
17581758
fields:
17591759
- name: predicate
@@ -1763,7 +1763,7 @@ nodes:
17631763
Represents the predicate of the case match. This can be either `nil` or any [non-void expressions](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
17641764
17651765
case true; in false; end
1766-
^^^^
1766+
^^^^
17671767
- name: conditions
17681768
type: node[]
17691769
kind: InNode
@@ -1779,7 +1779,7 @@ nodes:
17791779
Represents the else clause of the case match.
17801780
17811781
case true; in false; else; end
1782-
^^^^
1782+
^^^^^^^^^
17831783
- name: case_keyword_loc
17841784
type: location
17851785
comment: |
@@ -1826,7 +1826,7 @@ nodes:
18261826
Represents the else clause of the case statement.
18271827
18281828
case true; when false; else; end
1829-
^^^^
1829+
^^^^^^^^^
18301830
- name: case_keyword_loc
18311831
type: location
18321832
comment: |
@@ -1888,9 +1888,8 @@ nodes:
18881888
comment: |
18891889
Represents the body of the class.
18901890
1891-
class Foo
1892-
foo
1893-
^^^
1891+
class Foo; bar; end
1892+
^^^
18941893
- name: end_keyword_loc
18951894
type: location
18961895
comment: |
@@ -4635,7 +4634,7 @@ nodes:
46354634
The else clause of the unless expression, if present.
46364635
46374636
unless cond then bar else baz end
4638-
^^^^^^^^
4637+
^^^^^^^^^^^^
46394638
- name: end_keyword_loc
46404639
type: location?
46414640
comment: |

0 commit comments

Comments
 (0)