[Issue 15422] associative array of nested struct - crash on usage

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Dec 9 04:18:19 PST 2015


https://issues.dlang.org/show_bug.cgi?id=15422

Ivan Kazmenko <gassa at mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gassa at mail.ru
            Summary|Crash on nested struct      |associative array of nested
                   |                            |struct - crash on usage

--- Comment #1 from Ivan Kazmenko <gassa at mail.ru> ---
Able to reproduce this on win32/win64.

Original D.learn forum thread is mentioned in URL.  An extract from there:

With dmd 2.064.2, the 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 dmd 2.069.2, it compiles fine
but crashes at runtime.

So I'd say it's a regression somewhere between 2.064 and 2.066.

--


More information about the Digitalmars-d-bugs mailing list