Skip to content

Template literals support for @for tracking function #60751

Description

@JeanMeche

@jelbourn got bit by this on today's stream 😄

In comparison, this compiles fine

@for(item of [0, 1,2,3,4,5]; track '') {
}

while this doesn't compile

@for(item of [0, 1,2,3,4,5]; track `${item}`) {
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    core: control flowIssues related to the built-in control flow (@if, @for, @switch)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions