[Issue 2202] Error getting type of non-static member of a class
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 4 07:18:17 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2202
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug at yahoo.com.au
--- Comment #7 from Don <clugdbug at yahoo.com.au> 2009-09-04 07:18:16 PDT ---
This example shows it's definitely a bug (1.047):
class C {
int x;
}
alias C.x F;
static assert(is(typeof(F) == int)); // OK
static assert(is(typeof(C.x) == int));
//Error: static assert (is(int == int)) is false
--
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