[ https://issues.apache.org/jira/browse/SPARK-17367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15457862#comment-15457862 ]
Jakob Odersky commented on SPARK-17367: --------------------------------------- You're absolutely correct, it is a Scala issue. I raised it here as well though, since the -Yrepl-class-based option was originally created for Spark (the standard object-wrapping behaviour had issues with the ClosureCleaner and serialization IIRC) and was contributed back to Scala. Should I close the issue? > 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org