Hans created TOREE-466:
--------------------------

             Summary: 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


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)

Reply via email to