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

Is-Reference does not work with MetaProperty nodes (import.meta.*) #20

Closed
Ocean-OS opened this issue Nov 9, 2024 · 0 comments · Fixed by #21
Closed

Is-Reference does not work with MetaProperty nodes (import.meta.*) #20

Ocean-OS opened this issue Nov 9, 2024 · 0 comments · Fixed by #21

Comments

@Ocean-OS
Copy link
Contributor

Ocean-OS commented Nov 9, 2024

When parsing import.meta.* statements, is-reference does not check for MetaProperty nodes, and assumes that meta is a reference. Here's an example in the Svelte REPL.

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

Successfully merging a pull request may close this issue.

1 participant