Closed josephjclark closed 2 months ago
This PR makes lazy state a bit more strict.
It explicitly ensures that a $ operator is being passed as an argument into a function.
$
If it has a statement or declaration as a parent before the call expression, an error will be thrown (not a great one tbh but there we go).
This is kind of a quick fix, I may relax the constraint if I think #660 is robust enough
This PR makes lazy state a bit more strict.
It explicitly ensures that a
$
operator is being passed as an argument into a function.If it has a statement or declaration as a parent before the call expression, an error will be thrown (not a great one tbh but there we go).
This is kind of a quick fix, I may relax the constraint if I think #660 is robust enough