diff options
Diffstat (limited to 'compiler/semcall.nim')
-rw-r--r-- | compiler/semcall.nim | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/compiler/semcall.nim b/compiler/semcall.nim index c8f150922..9e9614796 100644 --- a/compiler/semcall.nim +++ b/compiler/semcall.nim @@ -34,13 +34,12 @@ proc sameMethodDispatcher(a, b: PSym): bool = proc determineType(c: PContext, s: PSym) -proc - pickBestCandidate(c: PContext, headSymbol: PNode, - n, orig: PNode, - initialBinding: PNode, - filter: TSymKinds, - best, alt: var TCandidate, - errors: var seq[string]) = +proc pickBestCandidate(c: PContext, headSymbol: PNode, + n, orig: PNode, + initialBinding: PNode, + filter: TSymKinds, + best, alt: var TCandidate, + errors: var seq[string]) = var o: TOverloadIter var sym = initOverloadIter(o, c, headSymbol) var symScope = o.lastOverloadScope |