You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Luciano Resende (JIRA)" <ji...@apache.org> on 2018/03/05 17:30:00 UTC
[jira] [Assigned] (TOREE-466) Function taking a function as
parameter, Kernel Crashes
[ https://issues.apache.org/jira/browse/TOREE-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luciano Resende reassigned TOREE-466:
-------------------------------------
Assignee: Luciano Resende
> 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)