digitalmars.D.bugs - [Issue 3250] New: Template mixin with import + base class causes forward reference
- d-bugmail puremagic.com Aug 13 2009
- d-bugmail puremagic.com Sep 18 2009
- d-bugmail puremagic.com Sep 18 2009
- d-bugmail puremagic.com Sep 18 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3250 Summary: Template mixin with import + base class causes forward reference Product: D Version: 1.045 Platform: x86 OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: doob me.com The following code causes forward reference: template Mixin () { import std.stdio; // it doesn't matter what import it is int i; } class Bar : Foo { mixin Mixin; } class Foo { mixin Mixin; } Flip the class declarations to get the code to compile. The problem is harder to work around with the classes in individual modules. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 13 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3250 Rainer Schuetze <r.sagitario gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |r.sagitario gmx.de --- Comment #1 from Rainer Schuetze <r.sagitario gmx.de> 2009-09-18 02:05:16 PDT --- I could not reproduce this bug with DMD 1.047 and DMD 2.032. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 18 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3250 --- Comment #2 from Jacob Carlborg <doob me.com> 2009-09-18 12:14:33 PDT --- You're right, I don't get the error with DMD 1.047. I guess I should close it? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 18 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3250 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug yahoo.com.au Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 18 2009









d-bugmail puremagic.com 