May 28, 2020 [Issue 20861] Interface implementations are not checked when code gen is skipped | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20861 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> --- @jacob-carlborg created dlang/dmd pull request #11191 "Fix issue 20861: Interface implementations are not checked when code gen is skipped" fixing this issue: - Fix issue 20861: Interface implementations are not checked when code gen is skipped The problem being that check was performed when the vtable was generated, during code generation. If the compiler was invoked with `-o-`, which skips code generation, the check was not performed. The fix is to move the check to the semantic phase of the compilation. This is also required for Objective-C classes, which don't have a vtable at all, even during code generation. https://github.com/dlang/dmd/pull/11191 -- | ||||
May 30, 2020 [Issue 20861] Interface implementations are not checked when code gen is skipped | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20861 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #11191 "Fix issue 20861: Interface implementations are not checked when code gen is skipped" was merged into master: - 56ebebf05467ea4069a36c584529f3b7dbb562ad by Jacob Carlborg: Fix issue 20861: Interface implementations are not checked when code gen is skipped The problem being that check was performed when the vtable was generated, during code generation. If the compiler was invoked with `-o-`, which skips code generation, the check was not performed. The fix is to move the check to the semantic phase of the compilation. This is also required for Objective-C classes, which don't have a vtable at all, even during code generation. https://github.com/dlang/dmd/pull/11191 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply