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

🐛 BUG: Compiler error #1054

Open
theRealProHacker opened this issue Dec 9, 2024 · 0 comments
Open

🐛 BUG: Compiler error #1054

theRealProHacker opened this issue Dec 9, 2024 · 0 comments
Labels
feat: ast Related to the JSON AST output (scope) needs triage Issue needs to be triaged

Comments

@theRealProHacker
Copy link

Describe the Bug

I get the following error

The Astro compiler encountered an unknown error while parsing this file's AST. Please create an issue with your code and the error shown in the server's logs: https://github.com/withastro/language-tools/issues

with the following code

export function _() {
  return
}
---

I am aware that this is incorrect code. It is missing the first three dashes ---

Steps to Reproduce

  1. Create an astro file with the content mentioned above
  2. Hover over it

Link to Minimal Reproducible Example

See bug description

@github-actions github-actions bot added the needs triage Issue needs to be triaged label Dec 9, 2024
@Princesseuh Princesseuh transferred this issue from withastro/language-tools Dec 11, 2024
@Princesseuh Princesseuh added feat: ast Related to the JSON AST output (scope) and removed needs triage Issue needs to be triaged labels Dec 11, 2024
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: ast Related to the JSON AST output (scope) needs triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants