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
Disambiguate more towards new given syntax, show solution for scala#15840
Faced with
given C[T]:
...
(with a new line after `:`) we now classify this as new given syntax, and assume ... is a template body.
If one wants to use old syntax, one can still write
given C[T]
: ImplementedType ...
# Conflicts:
# compiler/src/dotty/tools/dotc/parsing/Parsers.scala
0 commit comments