diff options
Diffstat (limited to 'compiler/sigmatch.nim')
-rw-r--r-- | compiler/sigmatch.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/sigmatch.nim b/compiler/sigmatch.nim index ea1945a64..2c22620da 100644 --- a/compiler/sigmatch.nim +++ b/compiler/sigmatch.nim @@ -2363,7 +2363,7 @@ proc matchesAux(c: PContext, n, nOrig: PNode, localError(c.config, n.sons[a].info, "named parameter has to be an identifier") noMatch() return - formal = getSymFromList(m.callee.n, n.sons[a].sons[0].ident, 1) + formal = getNamedParamFromList(m.callee.n, n.sons[a].sons[0].ident) if formal == nil: # no error message! noMatch() |