-
-
Notifications
You must be signed in to change notification settings - Fork 301
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Please read the FAQ for the bug you encountered.
- I have read the existing FAQ
⏯ Playground Link
💻 Code
Using the pattern $A($B) with relaxed doesn't seem to correctly ignore all comments in the source code.
// matches
foo(bar /* .. */)
foo(
bar // ..
)
foo(
bar, // ..
)
// no matches
foo(/* .. */ bar)
foo( // ..
bar
)
🙁 Actual behavior
Only comments after the last argument of the call expression seem to be ignored.
🙂 Expected behavior
Comments placed before the last argument should also be ignored with using relaxed strictness.
Additional information about the issue
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working