Files
lix/tests/functional/lang/parse-okay-regression-751.exp
T
Raito Bezarius 3e4bffcc24 libexpr: rename forceString to isInterpolation
`ExprConcatStrings` tracks whether the expression is an interpolation or
not via an obscure boolean called `forceString`.

Instead, we rename it to `isInterpolation`.

This is a breaking change for the JSON AST representation.

Change-Id: I9f89337449b56f6e99a961e21169761f554c9896
Signed-off-by: Raito Bezarius <raito@lix.systems>
2025-05-20 19:14:49 +02:00

26 lines
466 B
Plaintext

_type: ExprLet
attrs:
const:
_type: ExprLambda
arg: a
body:
_type: ExprLiteral
value: const
valueType: String
body:
_type: ExprConcatStrings
es:
- _type: ExprCall
args:
- _type: ExprSet
attrs:
x:
_type: ExprLiteral
value: q
valueType: String
recursive: false
fun:
_type: ExprVar
value: const
isInterpolation: true