Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle the case where verbatim enters a None group
Fixes #1235. As seen in that issue, a syntax node can actually cross the border of a None-delimited group, due to such groups being transparent to the parser in most cases. In the cases that this can occur, the presence of the group is known to be semantically irrelevant, so we just explicitly ignore the presence of the group. It's important that we only ignore None-delimited groups when the verbatim end requires entering the group, as such groups can have semantic impact (such as grouping binary operator chains) in other positions.
- Loading branch information