Fixed Type::implicitConvTo()

This commit is contained in:
Alexey Prokhin
2012-02-13 19:39:04 +04:00
parent adebe4c732
commit 1f4cd033ca

View File

@@ -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;
}