Skip to content

Using a backtick in a template expression should give a better error message #59160

@jelbourn

Description

@jelbourn

If you use a backtick (`) character in a template expression, Angular reports an error like

Unexpected character [`]

It would be nice if this could instead say something like

Angular template expressions to not support template string literals.

Unexpected character [`] at column ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: compilerIssues related to `ngc`, Angular's template compiler

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions