[Issue 3723] Regression: forward referenced enum
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 19 21:43:24 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3723
--- Comment #1 from Don <clugdbug at yahoo.com.au> 2010-01-19 21:43:23 PST ---
The regression is caused by this addition to Type *TypeEnum::toBasetype().
Knowing this doesn't necessarily help in fixing the problem, though.
Type *TypeEnum::toBasetype()
{
+ if (sym->scope)
+ {
+ sym->semantic(NULL); // attempt to resolve forward reference
+ }
--
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