Skip to content

Commit

Permalink
Merge branch 'topic/1036' into 'master'
Browse files Browse the repository at this point in the history
Fix rule one_construct_per_line following LAL changes.

See merge request eng/libadalang/langkit-query-language!200
  • Loading branch information
Roldak committed Apr 19, 2024
2 parents b43fc4d + 11b6131 commit 4c560ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lkql_checker/share/lkql/one_construct_per_line.lkql
Expand Up @@ -24,6 +24,7 @@ fun one_construct_per_line(node) =
# generating false positives.
SingleTaskTypeDecl or AnonymousTypeDecl or
LabelDecl or GenericSubpInternal or
ConcreteFormalSubpDecl or
ExtendedReturnStmtObjectDecl or
NamedStmtDecl))
and (node.token_end().end_line ==
Expand Down

0 comments on commit 4c560ce

Please sign in to comment.