[nem-en] LazyValue.n (def e = e)
Michal Moskal
michal.moskal at gmail.com
Tue Feb 13 11:47:41 CET 2007
On 2/13/07, Vladimir Reshetnikov <v.reshetnikov at gmail.com> wrote:
> Please explain the following line in LazyValue.n:
>
> catch {
> | e =>
> def e = e; // <-- this one
> computation = fun () { throw e }
> throw;
> }
This is a workaround for some bug, preventing cought exception to go
into function's closure. You can check if it's still there.
--
Michał
More information about the devel-en
mailing list