diff options
| author | Jeffrey Yasskin <[email protected]> | 2010-07-17 15:43:59 +0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-18 14:25:18 +0800 |
| commit | c3c425e9f18f0b0b5062e06f174f49b2ee4aa902 (patch) | |
| tree | a5d13d708254923edcf7be210147bfd2ec7c1b4b /src/test/run-pass | |
| parent | Add incomplete hashmap implementation to stdlib. (diff) | |
| download | rust-c3c425e9f18f0b0b5062e06f174f49b2ee4aa902.tar.xz rust-c3c425e9f18f0b0b5062e06f174f49b2ee4aa902.zip | |
Work around auto-dereference crash in rustboot.
Diffstat (limited to 'src/test/run-pass')
| -rw-r--r-- | src/test/run-pass/destructor-ordering.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/destructor-ordering.rs b/src/test/run-pass/destructor-ordering.rs index 99479c55..d4837299 100644 --- a/src/test/run-pass/destructor-ordering.rs +++ b/src/test/run-pass/destructor-ordering.rs @@ -18,7 +18,7 @@ state obj order_tracker(mutable int init) { obj dorder(@order_tracker tracker, int order, str message) { drop { - tracker.assert_order(order, message); + (*tracker).assert_order(order, message); } } |