fixes tproctypecache_falsepositive.nim test case
This commit is contained in:
parent
82effc581d
commit
4033929127
4 changed files with 28 additions and 3 deletions
|
|
@ -88,7 +88,8 @@ proc sameInstantiation(a, b: TInstantiation): bool =
|
|||
if a.concreteTypes.len == b.concreteTypes.len:
|
||||
for i in 0..a.concreteTypes.high:
|
||||
if not compareTypes(a.concreteTypes[i], b.concreteTypes[i],
|
||||
flags = {ExactTypeDescValues}): return
|
||||
flags = {ExactTypeDescValues,
|
||||
ExactGcSafety}): return
|
||||
result = true
|
||||
|
||||
proc genericCacheGet(genericSym: PSym, entry: TInstantiation;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue