-
-
Notifications
You must be signed in to change notification settings - Fork 932
Closed
Labels
C-bugCategory - BugCategory - Bug
Description
The OXC comment locations are off. It sets start as the index of the begin-comment syntax; eg; after // or /* or /** .
For the example below, OXC reports:
- range
[2, 14]withvalue=" hello world" - range
[53, 63]withvalue="* another "
And Babel reports:
[0, 14]withvalue=" hello world"[51, 65]withvalue="* another "
Note that OXCendindex is incorrect for Block comments too, despite matching value.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-bugCategory - BugCategory - Bug
Type
Fields
Give feedbackPriority
None yet