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 isn't an important bug to me, as bad syntax is bad syntax. But I'm reporting this because it did work as I'd expect on Sucrase 3.16, so maybe it's something that can be easily fixed.
The text was updated successfully, but these errors were encountered:
With the following Javascript code:
Babel gives an expected error message:
But Sucrase is less helpful:
An extra comma at line 1 col 5? I don't quite understand that.
Playground link
If a non-arrow function is used, Sucrase does give a good result:
Playground link
This isn't an important bug to me, as bad syntax is bad syntax. But I'm reporting this because it did work as I'd expect on Sucrase 3.16, so maybe it's something that can be easily fixed.
The text was updated successfully, but these errors were encountered: