digitalmars.D.bugs - [Issue 7178] New: Segfault with import of invalid template
- d-bugmail puremagic.com (33/33) Dec 28 2011 http://d.puremagic.com/issues/show_bug.cgi?id=7178
- d-bugmail puremagic.com (8/8) Jan 28 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7178
- d-bugmail puremagic.com (8/8) Jan 28 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7178
- d-bugmail puremagic.com (10/10) Jan 28 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7178
http://d.puremagic.com/issues/show_bug.cgi?id=7178 Summary: Segfault with import of invalid template Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: robert octarineparrot.com --- Comment #0 from Robert Clipsham <robert octarineparrot.com> 2011-12-28 18:34:52 GMT --- a.d: ---- static if(is(typeof({import typecons;}()))){ } ---- typecons.d: ---- template populate(overloads...) { mixin populate!(.contents); } public mixin populate!int; ---- With the above code, dmd segfaults when using "dmd -c a.d". While typecons.d is invalid, a.d is valid, and it should compile regardless of the validity of typecons. Note that this can probably be triggered with valid code in typecons.d as it was reduced from std.typecons. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 28 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7178 --- Comment #1 from github-bugzilla puremagic.com 2012-01-28 20:44:30 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/929b6cbd3f16ef20766f5c70b1cd3a759a4fd412 Issue 7178 - Segfault with import of invalid template -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 28 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7178 --- Comment #2 from github-bugzilla puremagic.com 2012-01-28 20:44:38 PST --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6be191a149cbfc66c720846d542559e46c0c895f Issue 7178 - Segfault with import of invalid template -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 28 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7178 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 28 2012