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

Snapshot doesn't support tagged template literals #5122

Open
ReimuNotMoe opened this issue Dec 18, 2023 · 1 comment
Open

Snapshot doesn't support tagged template literals #5122

ReimuNotMoe opened this issue Dec 18, 2023 · 1 comment

Comments

@ReimuNotMoe
Copy link

ReimuNotMoe commented Dec 18, 2023

JerryScript revision

514fa67

Build platform

Debian GNU/Linux 12 (bookworm) (Linux 6.1.0-15-amd64 x86_64)

Build steps
mkdir build && cmake -H. -Bbuild && make -C build
Build log

Irrelevant.

Test case
`abc${Number}def`
Execution platform

Unnecessary if the same as the build platform.

Execution steps

Generate snapshot data with the jerry_generate_snapshot function, as instructed by https://github.com/jerryscript-project/jerryscript/blob/master/docs/02.API-REFERENCE.md#jerry_generate_snapshot

Output

RangeError: Unsupported feature: tagged template literals

Backtrace

None.

Expected behavior

Snapshot should be generated correctly.

@ReimuNotMoe
Copy link
Author

Looks like this problem is the remaining of #3456.

I can try to fix this by myself if you can provide some instructions.

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