https://issues.dlang.org/show_bug.cgi?id=17131

--- Comment #2 from Martin Nowak <[email protected]> ---
Not a huge fan of adapting packages to upstream breakages, b/c it requires
every vibe.d user to update their dependencies.
But there doesn't seem to be a simple solution to this.
Can we do that in a vibe-d point release (i.e. 0.7.31)?

Still there seems to be a bug in the override checking of dmd, I think those
should have never compiled since we don't allow overloads based on attributes.

----
cat > bug.d << CODE
class Base
{
    final void foo() { }
}

class Derived : Base
{
    final void foo() @trusted { }
}
CODE
dmd -c -o- bug
----
cat > bug.d << CODE
class K
{
    void foo() { }
    void foo() @trusted { }
}
CODE
dmd -c -o- bug
----

--

Reply via email to