AA struct hashing bug?

Ivan Kazmenko via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Dec 8 04:46:08 PST 2015


On Tuesday, 8 December 2015 at 11:45:25 UTC, Random D user wrote:
> Ok. This is minimal app that crashes for me. If someone could 
> try this:

Interesting.

With dmd 2.064.2, your example compiles and runs fine.

With dmd 2.065.0, it does not compile, complaining that there is 
no opCmp for `Foo`s.

With dmd 2.066.0, and up to the current version, it compiles fine 
but crashes at runtime.

So I'd say it's a regression.

The tracker at issues.dlang.org does not report much bugs related 
to inner structs.
Can you please file a new issue there?


More information about the Digitalmars-d-learn mailing list