graydon/rust — Issue #1270: objects with floats crash on windows
Author: nikomatsakis
Created: 2011-12-08 01:08:56+00:00
State: open

The following test case:
```
type T = {x: int, y: int};
fn main() {
obj o(b: @T, f: float) {
fn dump() {
log_err (b, f);
}
}

let b = @{x: 22, y: 23};
let i = o(b, 0.75);
i.dump();
}
```
crashes and prints garbage, but seemingly only on windows.