We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Not exactly a showstopper, but in 2.6.0-RC2, if you evaluate:
def fl1[A](l: List[List[A]])= l match { case List() => List[A](); case x :: xs => x ::: fl1(xs); }
you get:
<console>:7: error: illegal cyclic reference involving method fl1 case x :: xs => x ::: fl1(xs); ^
Which wasn't very illuminating. I would have expected something like:
<console>:7: error: recursive method fl1 needs result type case x :: xs => x ::: fl1(xs);
which is what you get if you remove the type-parameterization
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-34?orig=1 Reporter: Commit Message Bot (anonymous)
Sorry, something went wrong.
@odersky said: fixed in r13315
@odersky said: Milestone 2.6.1 deleted
odersky
No branches or pull requests
Not exactly a showstopper, but in 2.6.0-RC2, if you evaluate:
you get:
Which wasn't very illuminating. I would have expected something like:
which is what you get if you remove the type-parameterization
The text was updated successfully, but these errors were encountered: