digitalmars.D.bugs - [Issue 7794] New: Sea of errors when calling regex() after compile error
- d-bugmail puremagic.com (28/28) Mar 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7794
- d-bugmail puremagic.com (42/42) Mar 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7794
- d-bugmail puremagic.com (10/10) Mar 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7794
- d-bugmail puremagic.com (9/9) Mar 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7794
- d-bugmail puremagic.com (10/10) Mar 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7794
http://d.puremagic.com/issues/show_bug.cgi?id=7794 Summary: Sea of errors when calling regex() after compile error Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: kekeniro2 yahoo.co.jp I am working on D2059 head. Building the following code, I get 60+ lines of error message. D2058 outputs only one error. --------------------------------------- import std.regex; void main() { 0; // to cause the _first_ compile error regex("a"); } --------------------------------------- I believe that it relates to the issue 7557. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7794 kekeniro2 yahoo.co.jp changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Reduced code is here. ( I wanted to reduce more but couldn't ) --------------------------------------------- // from std.typetuple template TypeTuple(T...) { alias T TypeTuple; } template staticMap( T...) { static if (T.length == 0) { alias TypeTuple!() staticMap; } else { alias TypeTuple!( staticMap!( T[1 .. $] ) ) staticMap; } } // from std.typecons struct Tuple(U) { template FieldSpec() { } template parseSpecs(T...) { static if (T.length == 0) { alias TypeTuple!() parseSpecs; } else { alias TypeTuple!( FieldSpec!(), parseSpecs!( T[1 .. $] ) ) parseSpecs; } } alias staticMap!( parseSpecs!U ) Types; } // instantiating void main() { 0; // to cause the _first_ error Tuple!int a; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7794 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug yahoo.com.au https://github.com/D-Programming-Language/dmd/pull/849 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7794 Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/2707f8a7f2451a83f40b3644be2a09a8a5649d93 Fix issue 7794 Sea of errors when calling regex() after compile error -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7794 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: -------
Mar 29 2012