-
Notifications
You must be signed in to change notification settings - Fork 21
Making scala repl's class generation customizable #7747
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-7747?orig=1 |
@som-snytt said: |
@retronym said: % scala Yrepl-class-based
...
scala> class C(val a: Any) extends AnyVal
<console>:7: error: value class may not be a member of another class
class C(val a: Any) extends AnyVal
^ Of course, it really depends which corner you are more comfortable in, as this one hangs in the default REPL and works here: scala> { def x = 0; List(1).par.map(_ => x)}
res0: scala.collection.parallel.immutable.ParSeq[Int] = ParVector(0) |
Prashant Sharma (scrapcodes) said (edited on Oct 23, 2014 5:11:37 AM UTC): |
@SethTisue said (edited on Jun 19, 2015 7:50:19 PM UTC): |
More details at scala/scala#2788
The text was updated successfully, but these errors were encountered: