[Issue 2869] New: alias type not equel to origin type when typeof call on it

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 21 05:28:01 PDT 2009


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

           Summary: alias type not equel to origin type when typeof call on
                    it
           Product: D
           Version: 2.028
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: galaxylang at gmail.com


alias type not equel to origin type when typeof call on it 
only occur on the basic type
such as:
alias int inttype;
if(is(typeof(int))    //complier error
if(is(typeof(inttype))//OK


-- 



More information about the Digitalmars-d-bugs mailing list