diff gen/toir.cpp @ 682:518b8cc84369

Remove too strict type check for DotTypeExp. Fixes run/t/typedef_19_B.
author Christian Kamm <kamm incasoftware de>
date Sat, 11 Oct 2008 22:44:17 +0200
parents 96e425004a68
children ed9a9e6dd1cc
line wrap: on
line diff
--- a/gen/toir.cpp	Sat Oct 11 22:14:16 2008 +0200
+++ b/gen/toir.cpp	Sat Oct 11 22:44:17 2008 +0200
@@ -2443,7 +2443,6 @@
 {
     Type* t = sym->getType();
     assert(t);
-    assert(t == e1->type && t == type);
     return e1->toElem(p);
 }