diff options
Diffstat (limited to 'rod/sigmatch.nim')
-rwxr-xr-x | rod/sigmatch.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rod/sigmatch.nim b/rod/sigmatch.nim index b25008e1e..59112a7f4 100755 --- a/rod/sigmatch.nim +++ b/rod/sigmatch.nim @@ -564,7 +564,7 @@ proc IndexTypesMatch*(c: PContext, f, a: PType, arg: PNode): PNode = proc argtypeMatches*(c: PContext, f, a: PType): bool = var m: TCandidate initCandidate(m, f) - result = paramTypesMatch(c, m, f, a, nil) != nil + result = paramTypesMatch(c, m, f, a, ast.emptyNode) != nil proc setSon(father: PNode, at: int, son: PNode) = if sonsLen(father) <= at: setlen(father.sons, at + 1) |