Mercurial > projects > ddmd
comparison dmd/TypeTypedef.d @ 64:4290d870944a
More fixes
author | korDen |
---|---|
date | Mon, 23 Aug 2010 20:29:15 +0400 |
parents | cab4c37afb89 |
children | f708f0452e81 |
comparison
equal
deleted
inserted
replaced
63:cab4c37afb89 | 64:4290d870944a |
---|---|
96 return sym.basetype.dotExp(sc, e, ident); | 96 return sym.basetype.dotExp(sc, e, ident); |
97 } | 97 } |
98 | 98 |
99 Expression getProperty(Loc loc, Identifier ident) | 99 Expression getProperty(Loc loc, Identifier ident) |
100 { | 100 { |
101 assert(false); | 101 version (LOGDOTEXP) { |
102 printf("TypeTypedef.getProperty(ident = '%s') '%s'\n", ident.toChars(), toChars()); | |
103 } | |
104 if (ident == Id.init_) | |
105 { | |
106 return Type.getProperty(loc, ident); | |
107 } | |
108 return sym.basetype.getProperty(loc, ident); | |
102 } | 109 } |
103 | 110 |
104 bool isbit() | 111 bool isbit() |
105 { | 112 { |
106 assert(false); | 113 assert(false); |
144 return sym.basetype.isunsigned(); | 151 return sym.basetype.isunsigned(); |
145 } | 152 } |
146 | 153 |
147 bool checkBoolean() | 154 bool checkBoolean() |
148 { | 155 { |
149 assert(false); | 156 return sym.basetype.checkBoolean(); |
150 } | 157 } |
151 | 158 |
152 int isAssignable() | 159 int isAssignable() |
153 { | 160 { |
154 return sym.basetype.isAssignable(); | 161 return sym.basetype.isAssignable(); |