Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Can't use .= operator several times in the same instruction #1

@fflorent

Description

@fflorent

When calling the operator several time for the same instruction, we get this error:

Error: Line XX: Unexpected token (
[... taz . ( function ( ) ...]

(demo)
Visibly this is caused by what is described in this issue (the right-hand side is greedy when it is an expression):
sweet-js/sweet-core#402

Florent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions