Skip to content

Snapshot doesn't support tagged template literals #5122

Open
@ReimuNotMoe

Description

@ReimuNotMoe
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions