Open
Description
In Scala indents don't work for empty for
s because they aren't fully parsed at that point. To illustrate, if I'm here
def wat() = for {|}
and press enter it's not indented properly because at this point it's not fully parsed as a (for_expression)
is TS and just comes up as an (ERROR)
. If I press enter inside a fully typed out for
expression (with the yield
and at least one <-
) it works.