3 <<file
:__EnableUnstableFeatures('expression_trees')>>
5 // Note that there is no usage of the $$ here.
6 // The check for assignment in pipe only checks to see whether $$ is in scope,
7 // not whether it is being used
8 // For assignments to occur in expression trees,
9 // a splice will cause an evaluation of an assignment
10 function test(ExprTree
<ExampleDsl
, ExampleDsl
::TAst
, ExampleInt
> $x): void
{
11 1 |
> ExampleDsl`$
{$x}`
;