2012-06-05

tim: Tim with short hair, smiling, wearing a black jacket over a white T-shirt (work)
2012-06-05 07:36 pm
Entry tags:

TMI: I'm out of puns about destructors

I skipped writing a post yesterday, but fortunately I didn't work on anything all that different from today: which is, destructors, all the time!

Porting the run-fail tests to use classes instead of resources mostly went smoothly, with the exception of the test morestack3, which after porting looked like (in part):

fn getbig_and_fail(&&i: int) {
     let _r = and_then_get_big_again();
[snip]
 }

class and_then_get_big_again {
[snip]
Cut for length )