From b3de4e773ee9caf95c4d580cdd506b9d2ea631a0 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Tue, 17 Feb 2009 18:57:11 +0100 Subject: [PATCH] Fix #217. getInternalTypeInfo doesn't work with LDC. --- dmd/mtype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmd/mtype.c b/dmd/mtype.c index 98c37eeb..8426c722 100644 --- a/dmd/mtype.c +++ b/dmd/mtype.c @@ -2450,7 +2450,7 @@ Expression *TypeAArray::dotExp(Scope *sc, Expression *e, Identifier *ident) 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; }