You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is especially problematic in REPL because this doesn't even let you write the body of the indented block after a colon. Nevertheless the issue is not REPL-specific
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Dec 4, 2022
Compiler version
3.3.0-RC1-bin-20221130-72c4ffd-NIGHTLY
Minimized code
Output
This compiles and the type of
x
is(Int => Any) => Seq[Any]
Expectation
This should not compile and raise a syntax error telling that the argument block after a colon cannot be empty
The text was updated successfully, but these errors were encountered: