[Issue 1266] Cannot forward reference the typeof of the base type of a pointer whose base type is defined with typeof
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jun 15 09:16:41 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1266
deewiant at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |major
Keywords| |ice-on-valid-code
------- Comment #2 from deewiant at gmail.com 2007-06-15 11:16 -------
Further testing:
f isn't needed, "typeof(*y) z;" is enough.
However, in the original ("typeof(x)* y;") case, using only "typeof(*y) z;"
without f causes a compiler crash (no error message). Hence I'm stepping up the
severity.
--
More information about the Digitalmars-d-bugs
mailing list