Closed
Description
Scala 2 only accepts varargs patterns with @
:
case List(1, 2, xs @ _*) =>
whereas dotty only accepts varargs patterns with :
(see PR #168):
case List(1, 2, xs : _*) =>
So I wonder if this breaking change was intentional? If yes, I'll add this to the rewriting tool.
Metadata
Metadata
Assignees
Labels
No labels