replace deprecated safeAdd with add (#9416)
This commit is contained in:
parent
7d8e281239
commit
675c629fee
7 changed files with 12 additions and 12 deletions
|
|
@ -69,7 +69,7 @@ proc cacheTypeInst*(inst: PType) =
|
|||
let t = if gt.kind == tyGenericBody: gt.lastSon else: gt
|
||||
if t.kind in {tyStatic, tyGenericParam} + tyTypeClasses:
|
||||
return
|
||||
gt.sym.typeInstCache.safeAdd(inst)
|
||||
gt.sym.typeInstCache.add(inst)
|
||||
|
||||
|
||||
type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue