handle recursive types during the instantiation of meta types; propagate tfHasMeta more carefully
This commit is contained in:
parent
88873f7965
commit
7e24cf26de
4 changed files with 86 additions and 26 deletions
|
|
@ -173,6 +173,7 @@ proc instGenericContainer(c: PContext, info: TLineInfo, header: PType,
|
|||
var cl: TReplTypeVars
|
||||
initIdTable(cl.symMap)
|
||||
initIdTable(cl.typeMap)
|
||||
initIdTable(cl.localCache)
|
||||
cl.info = info
|
||||
cl.c = c
|
||||
cl.allowMetaTypes = allowMetaTypes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue