[nem-en] Re: LazyValue.n (def e = e)

Kamil Skalski kamil.skalski at gmail.com
Tue Feb 13 12:20:38 CET 2007


Nice, so you may freely remove the workaround. Maybe also verify if
this case is hit in
http://nemerle.org/svn/nemerle/trunk/ncc/testsuite/positive/lazy.n

2007/2/13, Vladimir Reshetnikov <V.Reshetnikov at gmail.com>:
> Michal Moskal <michal.moskal <at> gmail.com> writes:
>
> > This is a workaround for some bug, preventing cought exception to go
> > into function's closure. You can check if it's still there.
> >
>
>
> Looks like it is OK now.
>
> [nemerle]
> using System;
> mutable f;
> try {
>         throw ApplicationException()
> }
> catch {
>         e =>
>                 f = fun() { throw e }
> }
> try {
>         f()
> }
> catch {
>         e =>
>                 Console.WriteLine(e)
> }
> [/nemerle]
>
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>


-- 
Kamil Skalski
http://nazgul.omega.pl



More information about the devel-en mailing list