[Issue 17131] [Reg 2.074] Fiber.state collides with differently attributed function in derived class
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Feb 4 04:39:38 PST 2017
https://issues.dlang.org/show_bug.cgi?id=17131
--- Comment #2 from Martin Nowak <code at dawg.eu> ---
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
----
--
More information about the Digitalmars-d-bugs
mailing list