replace deprecated safeAdd with add (#9416)

This commit is contained in:
Miran 2018-10-18 12:29:32 +02:00 • committed by Andreas Rumpf
commit 675c629fee
7 changed files with 12 additions and 12 deletions

View file

@ -406,7 +406,7 @@ const
const preferToResolveSymbols = {preferName, preferTypeName, preferModuleInfo, preferGenericArg}
template bindConcreteTypeToUserTypeClass*(tc, concrete: PType) =
tc.sons.safeAdd concrete
tc.sons.add concrete
tc.flags.incl tfResolved
# TODO: It would be a good idea to kill the special state of a resolved