Skip to content

Issue with empty string interpolation #12628

@AndersJensenStudie

Description

@AndersJensenStudie
let s = "Hello, world";
let s1 = "${s}${}"

is allowed, even though empty interpolated expressions usually are disallowed.
It seems that the second ${} just gets removed, as the following is true:

let s = "Hello, world";
let s1 = "${s}${}";
s1 == s

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions