digitalmars.D.bugs - [Issue 17131] New: [Reg 2.074] Fiber.state collides with differently
- via Digitalmars-d-bugs (32/32) Jan 30 2017 https://issues.dlang.org/show_bug.cgi?id=17131
https://issues.dlang.org/show_bug.cgi?id=17131 Issue ID: 17131 Summary: [Reg 2.074] Fiber.state collides with differently attributed function in derived class Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: druntime Assignee: nobody puremagic.com Reporter: code dawg.eu CC: sludwig outerproduct.org cat > bug.d << CODE import core.thread; class TaskFiber : Fiber { this() { super({}); } State state() trusted const nothrow { return super.state; } } CODE dmd -c -o- bug ---- bug.d(7): Error: function bug.TaskFiber.state cannot override final function core.thread.Fiber.state ---- Introduced (triggered?) by changing the attributes on core.thread.Fiber.state(). https://github.com/dlang/druntime/pull/1726 Currently breaks vibe.d and a couple of projects on https://ci.dawg.eu. --
Jan 30 2017