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

Ivan Kazmenko <ga...@mail.ru> changed:

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

--- Comment #1 from Ivan Kazmenko <ga...@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.

--

Reply via email to