jerryscript-project/jerryscript

Snapshot doesn't support tagged template literals

ReimuNotMoe opened this issue · 1 comments

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.

Looks like this problem is the remaining of #3456.

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