[rust-dev] Bus error: 10

2013-08-28 Thread Amitava Shee
I am getting a Bus error - please see the following.Should I file this as an issue in github? amitava:learn amitava$ cat app.rs // vi:ts=4:sw=4:nu fn main() { // should not compile - infinite size, needs redirection struct Foo { child: OptionFoo }; let c = Foo {child:

Re: [rust-dev] Bus error: 10

2013-08-28 Thread Josh Matthews
That's covered by https://github.com/mozilla/rust/issues/4363https://github.com/mozilla/rust/issues/4363in the issue tracker. Cheers, Josh On 28 August 2013 19:39, Amitava Shee amitava.s...@gmail.com wrote: I am getting a Bus error - please see the following.Should I file this as an issue in

Re: [rust-dev] Bus error: 10

2013-08-28 Thread Tim Chevalier
This is a known bug: https://github.com/mozilla/rust/issues/3779 The fix, which you probably realized, is to change OptionFoo to Option~Foo or Option@Foo. Cheers, Tim -- Tim Chevalier * http://catamorphism.org/ * Often in error, never in doubt Being queer is not about a right to privacy; it