fixes #669
This commit is contained in:
parent
1a7be4c66f
commit
06ad50b671
1 changed files with 2 additions and 1 deletions
|
|
@ -33,7 +33,8 @@ proc instantiateGenericParamList(c: PContext, n: PNode, pt: TIdTable,
|
||||||
localError(a.info, errCannotInstantiateX, s.name.s)
|
localError(a.info, errCannotInstantiateX, s.name.s)
|
||||||
t = errorType(c)
|
t = errorType(c)
|
||||||
elif t.kind == tyGenericParam:
|
elif t.kind == tyGenericParam:
|
||||||
internalError(a.info, "instantiateGenericParamList: " & q.name.s)
|
localError(a.info, errCannotInstantiateX, q.name.s)
|
||||||
|
t = errorType(c)
|
||||||
elif t.kind == tyGenericInvokation:
|
elif t.kind == tyGenericInvokation:
|
||||||
#t = instGenericContainer(c, a, t)
|
#t = instGenericContainer(c, a, t)
|
||||||
t = generateTypeInstance(c, pt, a, t)
|
t = generateTypeInstance(c, pt, a, t)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue