digitalmars.D.bugs - [Issue 12143] New: Base class is forward referenced
- d-bugmail puremagic.com (38/38) Feb 12 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12143
- d-bugmail puremagic.com (10/10) Apr 03 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12143
https://d.puremagic.com/issues/show_bug.cgi?id=12143 Summary: Base class is forward referenced Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: samukha voliacable.com PST --- class Node { alias typeof(true ? Node.init : Class.init) V; } class Type : Node { } class Class : Type { } void main() { } ---- bug.d(10): Error: class bug.Class base class is forward referenced by Node bug.d(10): Error: class bug.Class base class is forward referenced by Node bug.d(10): Error: class bug.Class base class is forward referenced by Object bug.d(10): Error: class bug.Class base class is forward referenced by Object bug.d(3): Error: incompatible types for ((null) : (null)): 'bug.Node' and 'bug.Class' This renders std.traits.CommonType unusable in certain situations. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 12 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12143 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull https://github.com/D-Programming-Language/dmd/pull/3384 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 03 2014