digitalmars.D - #dbugfix: Unclear error message when trying to inherit from multiple
- Meta (13/13) Mar 07 2018 class Test: Foo, Bar, Baz
- Nicholas Wilson (2/15) Mar 07 2018 https://github.com/dlang/dmd/pull/7987
- Mike Parker (2/3) Mar 07 2018 Noted!
class Test: Foo, Bar, Baz
{
}
class Foo {}
class Bar {}
class Baz {}
Error: class `Test` base type must be interface, not Bar
Error: class `Test` base type must be interface, not Baz
I thought this error message used to be a lot better; along the
lines of "D does not support multiple inheritance. Use interfaces
instead." It'd be nice if it was changed to be clearer about what
the error is.
https://issues.dlang.org/show_bug.cgi?id=18574
Mar 07 2018
On Wednesday, 7 March 2018 at 22:23:59 UTC, Meta wrote:
class Test: Foo, Bar, Baz
{
}
class Foo {}
class Bar {}
class Baz {}
Error: class `Test` base type must be interface, not Bar
Error: class `Test` base type must be interface, not Baz
I thought this error message used to be a lot better; along the
lines of "D does not support multiple inheritance. Use
interfaces instead." It'd be nice if it was changed to be
clearer about what the error is.
https://issues.dlang.org/show_bug.cgi?id=18574
https://github.com/dlang/dmd/pull/7987
Mar 07 2018
On Wednesday, 7 March 2018 at 22:23:59 UTC, Meta wrote:https://issues.dlang.org/show_bug.cgi?id=18574Noted!
Mar 07 2018









Nicholas Wilson <iamthewilsonator hotmail.com> 