fixes #119
This commit is contained in:
parent
572bfd23c4
commit
8fd274038e
1 changed files with 1 additions and 2 deletions
|
|
@ -553,8 +553,7 @@ proc typeRel(c: var TCandidate, f, a: PType): TTypeRelation =
|
||||||
if ff != nil: result = typeRel(c, ff, a)
|
if ff != nil: result = typeRel(c, ff, a)
|
||||||
of tyGenericInvokation:
|
of tyGenericInvokation:
|
||||||
var x = a.skipGenericAlias
|
var x = a.skipGenericAlias
|
||||||
assert(f.sons[0].kind == tyGenericBody)
|
if x.kind == tyGenericInvokation or f.sons[0].kind != tyGenericBody:
|
||||||
if x.kind == tyGenericInvokation:
|
|
||||||
#InternalError("typeRel: tyGenericInvokation -> tyGenericInvokation")
|
#InternalError("typeRel: tyGenericInvokation -> tyGenericInvokation")
|
||||||
# simply no match for now:
|
# simply no match for now:
|
||||||
nil
|
nil
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue