File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 194194 (if_statement
195195 "if" @branch.start @branch.removal.start
196196 condition: (_) @condition
197- consequence: (_ ) @branch.end @branch.removal.end
198- alternative: (_ )? @branch.removal.end.startOf
197+ consequence: (block ) @branch.end @branch.removal.end
198+ alternative: (if_statement )? @branch.removal.end.startOf
199199 ) @condition.domain
200200 (#not-parent-type? @condition.domain "if_statement")
201201 (#child-range! @condition 0 -1 true true)
207207 "else" @branch.start @condition.domain.start
208208 alternative: (if_statement
209209 condition: (_) @condition
210- consequence: (_ ) @branch.end @condition.domain.end
210+ consequence: (block ) @branch.end @condition.domain.end
211211 (#child-range! @condition 0 -1 true true)
212212 )
213213)
216216;; ! ^^^^^^^
217217(if_statement
218218 "else" @branch.start
219- alternative: (_ ) @branch.end
219+ alternative: (block ) @branch.end
220220)
221221
222222(
You can’t perform that action at this time.
0 commit comments