Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
March 27, 2019 [Issue 19767] Classes that inherit from an interface can override static interface methods | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19767 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |b2.temp@gmx.com Hardware|x86_64 |All OS|Linux |All Severity|enhancement |normal --- Comment #1 from Basile-z <b2.temp@gmx.com> --- I don't know if the report is valid. 1. You can still call the interface version of foo, e.g `(new C).D.foo();` 2. C.foo() is not virtual and does not call the inherited D.foo(). Because 2, the specs are respected. It's not an override but rather a case of hijacking. -- |
March 27, 2019 [Issue 19767] Classes that inherit from an interface can override static interface methods | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19767 Andrei Alexandrescu <andrei@erdani.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrei@erdani.com Assignee|nobody@puremagic.com |edi33416@gmail.com --- Comment #2 from Andrei Alexandrescu <andrei@erdani.com> --- Yah, this should be clarified in the spec. Thanks Edi! -- |
March 21, 2020 [Issue 19767] Classes that inherit from an interface can override static interface methods | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19767 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|b2.temp@gmx.com | -- |
December 17, 2022 [Issue 19767] Classes that inherit from an interface can override static interface methods | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19767 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
December 13 [Issue 19767] Classes that inherit from an interface can override static interface methods | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19767 --- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19547 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation