[Issue 7517] Interface contracts broken

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 1 04:45:52 PDT 2015


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

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, wrong-code
           Hardware|x86                         |All
                 OS|Windows                     |All

--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Rene Zwanenburg from comment #0)
> enable's in contract is not being called.

Today this is intended behavior. See the discussion in issue 6856.

> After setting _enabled to true an
> exception is thrown saying C does not implement opCmp(). 

This is definitely wrong-code bug.

https://github.com/D-Programming-Language/dmd/pull/4794

--


More information about the Digitalmars-d-bugs mailing list