digitalmars.D.bugs - [Issue 9276] New: regression(2.061): Forward reference error
- d-bugmail puremagic.com (65/65) Jan 06 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9276
- d-bugmail puremagic.com (14/14) Jan 12 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9276
- d-bugmail puremagic.com (10/10) Jan 31 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9276
- d-bugmail puremagic.com (11/11) Jan 31 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9276
- d-bugmail puremagic.com (10/10) Jan 31 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9276
- d-bugmail puremagic.com (6/6) Jan 31 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9276
http://d.puremagic.com/issues/show_bug.cgi?id=9276 Summary: regression(2.061): Forward reference error 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 Created an attachment (id=1175) Repro test case. Compiles with 2.060, fails to compile with 2.061. run 'dmd parser' The test case is also added as an attachment. module declaration; import semantic, visitors, util; class Declaration{ mixin DownCastMethods!TemplateDecl; } class TemplateDecl: OverloadableDecl{ mixin Visitors; } module expression; import parser; import util; class Node{ mixin DownCastMethods!Declaration; } class Expression: Node{ } module hashtable;module parser; public import expression, declaration; module semantic; class Declaration{ mixin Visitors; } template Semantic(T) { private: struct { import hashtable; } } import visitors; class OverloadableDecl: Declaration{ } module type; import parser; class Type: Expression{ } // <- note to Walter. class BasicType: Type{ } module util; string _dgliteral(T...)(){foreach(t;T) return t.stringof; assert(0); } template DownCastMethods(T...){ enum x = _dgliteral!T; } module visitors; template Visitors(){ mixin Semantic!(typeof(this)); mixin DeepDup!(typeof(this)); } import type; template DeepDup(T) if(is(T: BasicType)){} template DeepDup(T) {} -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 06 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9276 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich gmail.com 19:20:51 PST --- Introduced by commit 21c27b33e0111ed19c267517bf7efaba8def502e commit 21c27b33e0111ed19c267517bf7efaba8def502e Author: Walter Bright <walter walterbright.com> Date: Tue Nov 13 02:29:20 2012 -0800 fix another fwd ref bug -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 12 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9276 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, rejects-valid https://github.com/D-Programming-Language/dmd/pull/1588 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 31 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9276 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/4d3c753525d543769a8240d576b96fbb15676da7 fix Issue 9276 - regression(2.061): Forward reference error https://github.com/D-Programming-Language/dmd/commit/04902fcc96786f12ac2a2923d80da617d58aac2f Issue 9276 - regression(2.061): Forward reference error -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 31 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9276 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: -------
Jan 31 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9276 Great, now I can upgrade. Thanks a lot! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 31 2013