[e-lang] makeLazySlot: "nonlocal exit by lazy slot's maker"
tal at it-innovation.soton.ac.uk
Fri Jan 7 05:20:39 PST 2011
makeLazySlot checks that it was successful by checking that the result
is resolved. This doesn't work if the maker function returns a promise.
Here's a patch:
A side-effect of this is that the maker function can now be garbage
collected once it's been used.
Dr Thomas Leonard
IT Innovation Centre
2 Venture Road
Hampshire SO16 7NP
Tel: +44 0 23 8076 0834
Fax: +44 0 23 8076 0833
mailto:tal at it-innovation.soton.ac.uk
More information about the e-lang