Skip to content

Commit

Permalink
revert test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgomez committed Feb 11, 2024
1 parent d7a69a4 commit cd4a78c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/semcall.nim
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,9 @@ proc initCandidateSymbols(c: PContext, headSymbol: PNode,
]#
for paramSym in searchInScopesAllCandidatesFilterBy(c, symx.name, {skConst}):
let paramTyp = paramSym.typ
if paramTyp.sym == nil and paramTyp.n.kind == nkIntLit: continue
if paramTyp.n.sym.kind in filter:
result.add((paramTyp.n.sym, o.lastOverloadScope))


symx = nextOverloadIter(o, c, headSymbol)
if result.len > 0:
best = initCandidate(c, result[0].s, initialBinding,
Expand Down

0 comments on commit cd4a78c

Please sign in to comment.