Open kieran-osgood opened 10 months ago
when it is not a template, it seems this is meant to be an error
obviously when it is a template, this is allowed, but it seems the parser is not aware of this.
cc @dylan-conway
reduced reproduction, run bun build demo.ts
a`\1`
Bump, causes issues in NextJS when importing a client-rendered component from a server-rendered one.
Also fails on invalid \u0000
with less than 4 hexadecimals and \x00
with less than 2 hexadecimals.
What version of Bun is running?
1.0.15+b3bdf22eb
What platform is your computer?
Darwin 23.1.0 arm64 arm
What steps can reproduce the bug?
Then run it with
bun index.cjs
What is the expected behavior?
Syntax is valid
What do you see instead?
Additional information
No response