Re: strange Variant bug...

2011-06-24 Thread Lloyd Dupont
Sorry for the late answer I was sick, and thanks for the fix! It works indeed! :) Now... on onto other bugs! :) "Andrei Alexandrescu" wrote in message news:itst81$1qbe$2...@digitalmars.com... On 6/22/11 5:02 AM, Lloyd Dupont wrote: Hi Andrei, Thanks for the quick fix and work around! :)

Re: strange Variant bug...

2011-06-22 Thread Andrei Alexandrescu
On 6/22/11 5:02 AM, Lloyd Dupont wrote: Hi Andrei, Thanks for the quick fix and work around! :) Mm.. unfortunately Variant.init can be on either side of the equality, depending on the circumstances... I'll have to learn how to get the latest D compiler from the sources.. :~ Is there a wiki HowT

Re: strange Variant bug...

2011-06-22 Thread Lloyd Dupont
Hi Andrei, Thanks for the quick fix and work around! :) Mm.. unfortunately Variant.init can be on either side of the equality, depending on the circumstances... I'll have to learn how to get the latest D compiler from the sources.. :~ Is there a wiki HowTo somewhere? "Andrei Alexandrescu" wr

Re: strange Variant bug...

2011-06-21 Thread Andrei Alexandrescu
On 6/21/11 9:05 AM, Lloyd Dupont wrote: I have DMD2.053 on Windows 7 x64 The following program compiled and crash on the line where I compare v7 and v1 = module main; import std.variant; import std.stdio; class Foo { } int main(string[] argv) { Variant v1 = Variant.init; Ob

strange Variant bug...

2011-06-21 Thread Lloyd Dupont
I have DMD2.053 on Windows 7 x64 The following program compiled and crash on the line where I compare v7 and v1 = module main; import std.variant; import std.stdio; class Foo { } int main(string[] argv) { Variant v1 = Variant.init; Object o = new Foo(); Variant v7