3 <<file
:__EnableUnstableFeatures('expression_trees')>>
7 public function reset(): int {
12 function lift
<T
>(T
$_): ExprTree
<ExampleDsl
, ExampleDsl
::TAst
, T
> {
13 throw new Exception();
16 // This technically shouldn't throw an error.
17 // It currently is due to typechecking the current desugaring
18 // So, for the moment, allow this error to be thrown and fix the desugaring
19 function test(): void
{
23 $_ = ExampleDsl`
() ==> {
24 // We know that $x->x is not null