Skip to content

Support @ _* syntax under -language:Scala2 #1059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DarkDimius opened this issue Feb 5, 2016 · 1 comment
Closed

Support @ _* syntax under -language:Scala2 #1059

DarkDimius opened this issue Feb 5, 2016 · 1 comment

Comments

@DarkDimius
Copy link
Contributor

Dotty requires x : _* syntax for repeated types, though scala required xs @ _*.
It would be good to add support for old syntax under compatibility flag and issue a warning.
Also see #1048

@DarkDimius DarkDimius changed the title Support _* syntax under -language:Scala2 Support @ _* syntax under -language:Scala2 Feb 5, 2016
@liufengyun
Copy link
Contributor

@DarkDimius I'd like to work on this issue.

To be clear, scala supports both xs @ _* and _*, so we need to support both in dotty as well, or just xs @ _*?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants