Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Incomplete
-
None
-
None
Description
Consider the following Spark REPL session:
scala> def showInt(implicit x: Int) = println(x) showInt: (implicit x: Int)Unit scala> object IntHolder { implicit val myInt = 5 } defined module IntHolder scala> import IntHolder.myInt import IntHolder.myInt scala> showInt 5 scala> class A; showInt <console>:11: error: could not find implicit value for parameter x: Int showInt ^
This was most likely caused by the fix to SPARK-2632
Attachments
Issue Links
- is broken by
-
SPARK-2632 Importing a method of class in Spark REPL causes the REPL to pulls in unnecessary stuff.
-
- Resolved
-
- is depended upon by
-
SPARK-5149 Type mismatch when defining classes in Spark REPL
-
- Resolved
-
- is duplicated by
-
SPARK-1927 Implicits declared in companion objects not found in Spark shell
-
- Resolved
-
- is related to
-
SPARK-1927 Implicits declared in companion objects not found in Spark shell
-
- Resolved
-