[Issue 4753] fail_compilation/fail116.d sends dmd into a loop, exhausting memory
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 30 00:39:27 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4753
Brad Roberts <braddr at puremagic.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |regression
--- Comment #1 from Brad Roberts <braddr at puremagic.com> 2010-08-30 00:39:15 PDT ---
Flagging as a regression. r634 introduced it:
This block of the diff is where dmd goes recursive:
@@ -4215,6 +4215,9 @@ Expression *VarExp::semantic(Scope *sc)
#endif
}
+ if (type && !type->deco)
+ type = type->semantic(loc, sc);
+
/* Fix for 1161 doesn't work because it causes protection
* problems when instantiating imported templates passing private
* variables as alias template parameters.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list