Remove too strict type check for DotTypeExp. Fixes run/t/typedef_19_B.

This commit is contained in:
Christian Kamm
2008-10-11 22:44:17 +02:00
parent b4e57e83eb
commit 40f724234d

View File

@@ -2443,7 +2443,6 @@ DValue* DotTypeExp::toElem(IRState* p)
{
Type* t = sym->getType();
assert(t);
assert(t == e1->type && t == type);
return e1->toElem(p);
}