Skip to content

Commit

Permalink
Fix missing parenthesis in string references
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgio committed Aug 9, 2023
1 parent 602382a commit 1a2629b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class KotlinExpressionTranspiler(private val scope: Scope?) : ExpressionTranspil
override fun string(expression: StringExpression) = "\"" + expression.components.joinToString("") {
when (it) {
is StringCharacter -> it.character.toString()
is StringReference -> "\${${sequence(it.sequence)}}"
is StringReference -> "\${${sequence(it.sequence)}()}"
is StringBlankCharacter -> ""
}
} + "\""
Expand Down

0 comments on commit 1a2629b

Please sign in to comment.