Skip to content

Template literals support for @for tracking function #60751

Closed

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

  1. added
    core: control flow
    on Apr 4, 2025
  2. crisbeto commented on Apr 4, 2025

    @crisbeto
    Member

    This should be fixed in #60529.

  3. angular-automatic-lock-bot commented on May 10, 2025

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  4. locked and limited conversation to collaborators on May 10, 2025
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 flow

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions