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 2021/05/31 22:07:00 UTC
[jira] [Resolved] (TOREE-465) By-Name Parameter Crash
[ https://issues.apache.org/jira/browse/TOREE-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luciano Resende resolved TOREE-465.
-----------------------------------
Fix Version/s: 0.5.0
Resolution: Cannot Reproduce
{code:java}
def f[R](b: => R): R = { b }
f({var x = 2; ; x})
{code}
[3]:
f: [R](b: => R)R
2
> By-Name Parameter Crash
> -----------------------
>
> Key: TOREE-465
> URL: https://issues.apache.org/jira/browse/TOREE-465
> 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
> Priority: Major
> Fix For: 0.5.0
>
>
> Dear Toree Developers
> The following simple code (in a Jupyter notebook cell) crashes the kernel:
>
> {code:java}
> def f[R](b: => R): R = { b }
> f({var x = 2; ; 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
(v8.3.4#803005)