Thread overview
[Issue 21883] poor error message when swapping order of base class and interface
Apr 30, 2021
Dlang Bot
Apr 30, 2021
Dlang Bot
May 03, 2021
Mathias LANG
April 30, 2021
https://issues.dlang.org/show_bug.cgi?id=21883

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@adamdruppe updated dlang/dmd pull request #12490 "Improve error message for base class followed by interface" fixing this issue:

- fix issue #21883

https://github.com/dlang/dmd/pull/12490

--
April 30, 2021
https://issues.dlang.org/show_bug.cgi?id=21883

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 #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

--
May 03, 2021
https://issues.dlang.org/show_bug.cgi?id=21883

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pro.mathias.lang@gmail.com

--- Comment #3 from Mathias LANG <pro.mathias.lang@gmail.com> ---
*** Issue 21653 has been marked as a duplicate of this issue. ***

--