[ 
https://issues.apache.org/jira/browse/SPARK-5150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon resolved SPARK-5150.
---------------------------------
    Resolution: Incomplete

> Strange implicit resolution behavior in Spark REPL
> --------------------------------------------------
>
>                 Key: SPARK-5150
>                 URL: https://issues.apache.org/jira/browse/SPARK-5150
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Shell
>            Reporter: Tobias Schlatter
>            Priority: Major
>              Labels: bulk-closed
>
> Consider the following Spark REPL session:
> {code}
> 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
>         ^
> {code}
> This was most likely caused by the fix to SPARK-2632



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to