[Issue 21298] Missing error when overriding interface method without in contract with class method with contract

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 9 14:27:57 UTC 2020


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

--- Comment #1 from Mario Kroeplin <kroeplin.d at googlemail.com> ---
Worse: no semantic analysis is done for the in condition of the override:

class C : I
{
  override void foo(int i) in (something, stupid) { }
}

--


More information about the Digitalmars-d-bugs mailing list