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

Making scala repl's class generation customizable #7747

Closed
scabug opened this issue Aug 13, 2013 · 5 comments
Closed

Making scala repl's class generation customizable #7747

scabug opened this issue Aug 13, 2013 · 5 comments
Milestone

Comments

@scabug
Copy link

scabug commented Aug 13, 2013

More details at scala/scala#2788

@scabug
Copy link
Author

scabug commented Aug 13, 2013

Imported From: https://issues.scala-lang.org/browse/SI-7747?orig=1
Reporter: Prashant Sharma (scrapcodes)
Affected Versions: 2.11.0-M4

@scabug
Copy link
Author

scabug commented Nov 11, 2013

@som-snytt said:
scala/scala#3123

@scabug
Copy link
Author

scabug commented Sep 26, 2014

@retronym said:
Just dropping by to note a corner case with this:

% 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)

@scabug
Copy link
Author

scabug commented Oct 23, 2014

Prashant Sharma (scrapcodes) said (edited on Oct 23, 2014 5:11:37 AM UTC):
I am reopening this, as we thought this needs a bit more work.

@scabug scabug closed this as completed Jun 14, 2015
@scabug
Copy link
Author

scabug commented Jun 19, 2015

@SethTisue said (edited on Jun 19, 2015 7:50:19 PM UTC):
fixed in scala/scala#4548

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