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

ag0ae...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
                 CC|                            |ag0ae...@gmail.com
          Component|phobos                      |dmd
           Hardware|x86_64                      |All
            Summary|Internal error with red     |[REG 2.074] Internal error
                   |black tree of array of      |when comparing
                   |arrays                      |inout(Foo[][]) with Foo[][]
                 OS|Linux                       |All
           Severity|normal                      |regression

--- Comment #2 from ag0ae...@gmail.com ---
Reduced (it's the result of using `binaryFun!"a < b"` in the `inout` method
`_firstGreaterEqual`):
----
bool _less(inout size_t[][] a, size_t[][] b) { return a < b; }
----

I don't know if this should compile or throw an error. Any way, it shouldn't
ICE.

dmd2.073.0 accepts the code, making this a regression.

Changing component to dmd as that's where the bug manifests as an ICE. The
actual bug might be in druntime.

--

Reply via email to