This commit is contained in:
Andreas Rumpf 2021-09-04 15:57:16 +02:00 • committed by GitHub
commit e8dad482a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 2 deletions

View file

@ -51,7 +51,7 @@ proc searchInstTypes*(g: ModuleGraph; key: PType): PType =
for j in 1..high(key.sons):
# XXX sameType is not really correct for nested generics?
if not compareTypes(inst[j], key[j],
flags = {ExactGenericParams}):
flags = {ExactGenericParams, PickyCAliases}):
break matchType
return inst