Open
Description
Noticed this while working on the Prettier plugin: there's currently an asymmetry between inline if
vs inline for
/while
with respect to implicit calls
Eg this parses:
a if b then c
a b, if c then d
While these don't:
a while b then c
a b, while c then d
a for b in c then d
a b, for c in d then e
I started playing with this on my allow-implicit-call-for-while
branch but was running into some tricky stuff in the rewriter
So opening this issue at least as a reminder
Not sure if there's ever been any consideration/discussion of this?