{
unsigned hash = 0;
- switch(type->type) {
+ switch(type->kind) {
case TYPE_INVALID:
panic("internalizing void or invalid types not possible");
return 0;
{
if(type1 == type2)
return true;
- if(type1->type != type2->type)
+ if(type1->kind != type2->kind)
return false;
if(type1->base.qualifiers != type2->base.qualifiers)
return false;
- switch(type1->type) {
+ switch(type1->kind) {
case TYPE_INVALID:
return false;
case TYPE_ATOMIC: