Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invariant Failed - Sourcemaps #1402

Open
GianlucaGuarini opened this issue May 31, 2024 · 0 comments
Open

Invariant Failed - Sourcemaps #1402

GianlucaGuarini opened this issue May 31, 2024 · 0 comments

Comments

@GianlucaGuarini
Copy link

Hi there,
I am getting a recast error into the Riot.js compiler similar to this old one

I could reproduce it with this example:
https://runkit.com/gianlucaguarini/recast-bug-2

It seems that the sourcemaps generation fails in some cases when the code gets wrapped into round brackets.

Any help is really appreciated, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant