Skip to content

Commit 09f9a2b

Browse files
AndreasArvidssoncursorless-bot
authored andcommitted
Don't discard nodes with non adjacent error siblings (#2860)
Today we discard parse tree nodes if any of the ancestral nodes has a error. That means that any of the ancestral nodes has a descendant that is an error node. That could be something a hundred lines below that isn't really relevant to the node we are evaluating. This updates changes so we only look at error nodes that are adjacent to our ascending path.
1 parent 6ef7658 commit 09f9a2b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

0 commit comments

Comments
 (0)