String interpolation #147
Labels
bytecode
All issues that relate to the generation of Java Bytecode
enhancement
New feature or request
parser
verifier
Milestone
Some other programming languages (Groovy, JavaScript, Kotlin, ...) allow for string interpolation.
Check if we can/want to allow this as well.
String interpolation:
$"xxx{variable}"
is an interpolated string and can contain variables. Expressions are not (yet) supported and will be evaluated later. It is possible to escape the { and }. Escaping } is not necessary but permitted: $"This is literally a { and }"It is not permitted to use an interpolated string as member name (x.$"something" is not allowed) since member names must be constants.
Acceptance criteria:
{}
characters (or whichever chars are used to refer to variables.The text was updated successfully, but these errors were encountered: