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

false syntax error #16378

Closed
huseeiin opened this issue Jan 13, 2025 · 2 comments
Closed

false syntax error #16378

huseeiin opened this issue Jan 13, 2025 · 2 comments
Labels
bug Something isn't working needs triage

Comments

@huseeiin
Copy link
Contributor

huseeiin commented Jan 13, 2025

What version of Bun is running?

1.1.42-canary.1+acb9fdfcf

What platform is your computer?

Linux 6.8.0-49-generic x86_64 x86_64

What steps can reproduce the bug?

Bun.build({
  entrypoints: [`./build.js`],
  // throw: true,
});

What is the expected behavior?

this only happens in .js files. it doesn't happen in .ts files.
the bug doesn't happen when removing the comment (// throw: true)

What do you see instead?

error: Expected identifier but found end of file

Additional information

No response

@huseeiin huseeiin added bug Something isn't working needs triage labels Jan 13, 2025
@Jarred-Sumner
Copy link
Collaborator

Not able to reproduce this. Are you able to reproduce this on Bun v1.1.43?

@huseeiin
Copy link
Contributor Author

Not able to reproduce this. Are you able to reproduce this on Bun v1.1.43?

after upgrading, its fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

2 participants