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

Kenji Hara <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
            Summary|associative array of nested |[REG2.066] associative
                   |struct - crash on usage     |array of nested struct -
                   |                            |crash on usage

--- Comment #3 from Kenji Hara <[email protected]> ---
(In reply to Ivan Kazmenko from comment #1)
> 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.

The guilty commit had been introduced in 2.065, but the actual problem had been
hidden until 2.066 was released, by the compiler's "no opCmp" complaint.

PR to fix the issue: https://github.com/D-Programming-Language/dmd/pull/5304

--

Reply via email to