[Issue 1341] typeof(int) should probably be legal

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 2 00:10:46 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=1341





------- Comment #3 from clugdbug at yahoo.com.au  2008-07-02 02:10 -------
So the resolution would be that:

typeof(X)

would generate an error late in the semantic pass if X turns out to be a type,
rather than an expression?


-- 



More information about the Digitalmars-d-bugs mailing list