mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Fixed Type::implicitConvTo()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user