comparison dmd/mtype.c @ 975:067bb8f19c36

Fix #217. getInternalTypeInfo doesn't work with LDC.
author Christian Kamm <kamm incasoftware de>
date Tue, 17 Feb 2009 18:57:11 +0100
parents a904cc9bc064
children 132bece5ae62
comparison
equal deleted inserted replaced
974:815e1b8c6b00 975:067bb8f19c36
2448 } 2448 }
2449 2449
2450 ec = new VarExp(0, aaRehash_fd); 2450 ec = new VarExp(0, aaRehash_fd);
2451 arguments = new Expressions(); 2451 arguments = new Expressions();
2452 arguments->push(e->addressOf(sc)); 2452 arguments->push(e->addressOf(sc));
2453 arguments->push(key->getInternalTypeInfo(sc)); 2453 arguments->push(key->getTypeInfo(sc)); // LDC doesn't support getInternalTypeInfo, see above
2454 e = new CallExp(e->loc, ec, arguments); 2454 e = new CallExp(e->loc, ec, arguments);
2455 e->type = this; 2455 e->type = this;
2456 } 2456 }
2457 else 2457 else
2458 { 2458 {