changeset 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 815e1b8c6b00
children fe93215deb82
files dmd/mtype.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dmd/mtype.c	Tue Feb 17 18:53:15 2009 +0100
+++ b/dmd/mtype.c	Tue Feb 17 18:57:11 2009 +0100
@@ -2450,7 +2450,7 @@
 	ec = new VarExp(0, aaRehash_fd);
 	arguments = new Expressions();
 	arguments->push(e->addressOf(sc));
-	arguments->push(key->getInternalTypeInfo(sc));
+	arguments->push(key->getTypeInfo(sc)); // LDC doesn't support getInternalTypeInfo, see above
 	e = new CallExp(e->loc, ec, arguments);
 	e->type = this;
     }