diff --git a/dmd2/mtype.c b/dmd2/mtype.c index 96c70572..443c6083 100644 --- a/dmd2/mtype.c +++ b/dmd2/mtype.c @@ -1847,6 +1847,10 @@ MATCH Type::implicitConvTo(Type *to) //printf("to : %s\n", to->toChars()); if (this == to) return MATCHexact; +#if IN_LLVM + if (deco == to->deco) + return MATCHexact; +#endif return MATCHnomatch; }