[
https://issues.apache.org/jira/browse/TOREE-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16639856#comment-16639856
]
ASF GitHub Bot commented on TOREE-466:
--------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-toree/pull/153
> Function taking a function as parameter, Kernel Crashes
> -------------------------------------------------------
>
> Key: TOREE-466
> URL: https://issues.apache.org/jira/browse/TOREE-466
> Project: TOREE
> Issue Type: Bug
> Affects Versions: 0.2.0
> Environment: jre-8u162, scala-2.12.4, spark-2.2.1-bin-hadoop2.7,
> 0.2.0-incubating-rc3 in a Ubuntu 17.10 based Docker Container
> Reporter: Hans
> Assignee: Luciano Resende
> Priority: Major
>
> Dear Toree Developers
> The following simple code (in a Jupyter notebook cell) crashes the kernel:
>
>
> {code:java}
> def f(x: Int, l: (Int) => Int): Int = { l(x) }
> f(2, x => x*x)
> {code}
>
> This works in the Scala REPL.
> With best wishes & thanks for your great efforts on Toree
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)