[ 
https://issues.apache.org/jira/browse/SPARK-17367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15457848#comment-15457848
 ] 

Sean Owen commented on SPARK-17367:
-----------------------------------

I doesn't work in the Scala REPL, as SI-9910 indicates. But it is definitely 
caused by -Yrepl-class-based, which the Spark shell sets. It seems like a Scala 
issue then, but, I also don't know if -Yrepl-class-based must be set for Spark 
or what it does. [~prashant_] you might know; is it possible this is just a 
hold-over from old code we don't need? if we need it though, then this isn't 
something Spark can fix unfortunately.

> Cannot define value classes in REPL
> -----------------------------------
>
>                 Key: SPARK-17367
>                 URL: https://issues.apache.org/jira/browse/SPARK-17367
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Shell
>            Reporter: Jakob Odersky
>
> It is currently not possible to define a class extending `AnyVal` in the 
> REPL. The underlying reason is the {{-Yrepl-class-based}} option used by 
> Spark Shell.
> The report here is more of an FYI for anyone stumbling upon the problem, see 
> the upstream issue [https://issues.scala-lang.org/browse/SI-9910] for any 
> progress.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to