Skip to content
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

REPL checkmate in three moves #8360

Closed
scabug opened this issue Mar 4, 2014 · 3 comments
Closed

REPL checkmate in three moves #8360

scabug opened this issue Mar 4, 2014 · 3 comments

Comments

@scabug
Copy link

scabug commented Mar 4, 2014

Welcome to Scala version 2.11.0-M8 (OpenJDK 64-Bit Server VM, Java 1.7.0_25).
Type in expressions to have them evaluated.
Type :help for more information.

scala> val es = java.util.EnumSet.of(Thread.State.NEW)
es: java.util.EnumSet[java.lang.Thread.State] = [NEW]

scala> es.toArray(Array.empty[Thread.State])
res0: Array[Thread.State] = Array(NEW)

scala> val es = java.util.EnumSet.of(Thread.State.NEW)
ReplGlobal.abort: Unknown type: <notype>(NEW), <notype> [class scala.reflect.internal.Types$UniqueConstantType, class scala.reflect.internal.Types$NoType$] TypeRef? false
error: Unknown type: <notype>(NEW), <notype> [class scala.reflect.internal.Types$UniqueConstantType, class scala.reflect.internal.Types$NoType$] TypeRef? false
scala.reflect.internal.FatalError: 
  Unknown type: <notype>(NEW), <notype> [class scala.reflect.internal.Types$UniqueConstantType, class scala.reflect.internal.Types$NoType$] TypeRef? false
     while compiling: <console>
        during phase: icode
@scabug
Copy link
Author

scabug commented Mar 4, 2014

Imported From: https://issues.scala-lang.org/browse/SI-8360?orig=1
Reporter: @som-snytt
Affected Versions: 2.11.0-M8
Duplicates #6613

@scabug
Copy link
Author

scabug commented Aug 5, 2014

@gkossakowski said:
The 2.11.2 is out so I'm rescheduling the issue for 2.11.3.

@scabug
Copy link
Author

scabug commented Sep 20, 2014

@som-snytt said:
We now know it's possible in two moves.

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

1 participant