TMI: I'm out of puns about destructors
Jun. 5th, 2012 07:36 pmI 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 )