You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This behaves as intended. Running trimmed modifies the syntax tree to remove the leading and trailing trivia of the first and last token, respectively. The trimmed node should probably be detached from the original tree, which would make the behavior more obvious.
I would suggest that you do something like the following
Description
using the
trimmed
family ofSyntaxProtocol
methods corrupts theByteSourceRange
s when obtaining syntax classifications.i was able to reproduce this on
510.0.2
, and on600.0.0-prerelease-2024-06-12
.Steps to Reproduce
The text was updated successfully, but these errors were encountered: