[Issue 21883] poor error message when swapping order of base class and interface
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 30 23:21:34 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21883
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #12490 "Improve error message for base class followed by
interface" was merged into master:
- c687dc9d70c55cf2ad0de6b74291fe3e119ed15a by Adam D. Ruppe:
Improve error message for base class followed by interface
The spec requires base class to be listed first, but if you flip it, the
compiler complains about multiple inheritance instead of just hinting
that you need to reorder your list. This makes the error message a
little more user-friendly.
fix issue #21883
https://github.com/dlang/dmd/pull/12490
--
More information about the Digitalmars-d-bugs
mailing list