Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 18, 2013 [Issue 9952] New: regression(HEAD): Attribute inference for virtual functions breaks subclasses | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9952 Summary: regression(HEAD): Attribute inference for virtual functions breaks subclasses Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: timon.gehr@gmx.ch --- Comment #0 from timon.gehr@gmx.ch 2013-04-17 23:46:28 PDT --- Compiles with 2.062, error in git head: import std.stdio; class C(T){ T foo(){ return 2; } } class D : C!int{ override int foo(){ writeln(super.foo()); return 3; } // error } void main(){ } This was presumably introduced by the fix for issue 7511. (It had already been pointed out there that virtual functions shouldn't have their attributes inferred.) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 20, 2013 [Issue 9952] regression(HEAD): Attribute inference for virtual functions breaks subclasses | ||||
---|---|---|---|---|
| ||||
Posted in reply to timon.gehr@gmx.ch | http://d.puremagic.com/issues/show_bug.cgi?id=9952 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-04-19 23:03:37 PDT --- https://github.com/D-Programming-Language/dmd/pull/1915 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 21, 2013 [Issue 9952] regression(HEAD): Attribute inference for virtual functions breaks subclasses | ||||
---|---|---|---|---|
| ||||
Posted in reply to timon.gehr@gmx.ch | http://d.puremagic.com/issues/show_bug.cgi?id=9952 --- Comment #2 from github-bugzilla@puremagic.com 2013-04-21 03:26:18 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b8acdd2cc7a66cd9d9e6ad8c2aeb0f12e742d74e fix Issue 9952 - Attribute inference for virtual functions breaks subclasses https://github.com/D-Programming-Language/dmd/commit/808802a45a85450bb9758b295b1ed8a68c0c073c Merge pull request #1915 from 9rnsr/fix9952 [REG2.062] Issue 9952 - Attribute inference for virtual functions breaks subclasses -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 21, 2013 [Issue 9952] regression(HEAD): Attribute inference for virtual functions breaks subclasses | ||||
---|---|---|---|---|
| ||||
Posted in reply to timon.gehr@gmx.ch | http://d.puremagic.com/issues/show_bug.cgi?id=9952 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation