-
Notifications
You must be signed in to change notification settings - Fork 21
Unexpected "recursive value needs type" error #5091
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
Comments
Imported From: https://issues.scala-lang.org/browse/SI-5091?orig=1 |
Freewind (freewind) said: |
Przemek Sokół (falconepl) said: [error] Unknown type: <error>, <error> [class scala.reflect.internal.Types$ErrorType$, class scala.reflect.internal.Types$ErrorType$] TypeRef? false
[trace] Stack trace suppressed: run last test:compile for the full output.
[error] (test:compile) scala.reflect.internal.FatalError: Unknown type: <error>, <error> [class scala.reflect.internal.Types$ErrorType$, class scala.reflect.internal.Types$ErrorType$] TypeRef? false You can find exemplary code here. |
@retronym said:
|
@retronym said: |
Christopher (metch) said: |
@som-snytt said: |
Ivan Suhinin (suhinini) said: |
Przemek Sokół (falconepl) said: [error] /home/.../SI-5091-Scala-2-11-6-Reopen/Test.scala:6: recursive value x needs type
[error] val id = x + 1
[error] ^
[error] one error found
[error] (compile:compile) Compilation failed |
Ivan Suhinin (suhinini) said: |
@retronym said: I've lodged this as sbt/sbt#1928 |
Przemek Sokół (falconepl) said (edited on Mar 19, 2015 7:11:33 PM UTC): |
Ivan Suhinin (suhinini) said: |
Netta Doron (nettad) said: |
fixed since Scala 2.13.0-M4 |
With scala-2.10.0.r25850-b20111019023417, compiling:
Gives the error:
The text was updated successfully, but these errors were encountered: