Skip to content

Commit

Permalink
fix: mark modifiers node as having children unordered
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed Sep 13, 2024
1 parent 2cd0b0c commit 2ecb58c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/tests/scenarios/abstract/base.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
public abstract class Teste {
public abstract void teste();
}
5 changes: 5 additions & 0 deletions bin/tests/scenarios/abstract/left.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
public abstract class Teste {
private String a;

public abstract void teste();
}
1 change: 1 addition & 0 deletions bin/tests/scenarios/abstract/merge.java
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public class Teste { private String a ; public void teste ( ) ; }
3 changes: 3 additions & 0 deletions bin/tests/scenarios/abstract/right.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
public class Teste {
public void teste();
}
1 change: 1 addition & 0 deletions parsing/src/tree_sitter_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ impl From<Language> for ParserConfiguration {
kinds_with_unordered_children: [
"interface_body",
"class_body",
"modifiers",
"enum_body_declarations",
]
.into(),
Expand Down

0 comments on commit 2ecb58c

Please sign in to comment.