Skip to content

Commit

Permalink
forgot tot change this back
Browse files Browse the repository at this point in the history
  • Loading branch information
Graveflo committed Jul 24, 2024
1 parent 2db0ad3 commit 29cb491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/sigmatch.nim
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ proc cmpCandidates*(a, b: TCandidate, isFormal=true): int =
result = a.convMatches - b.convMatches
if result != 0: return

result = b.inheritancePenalty - a.inheritancePenalty
result = cmpInheritancePenalty(a.inheritancePenalty, b.inheritancePenalty)
if result != 0: return
if isFormal:
# check for generic subclass relation
Expand Down

0 comments on commit 29cb491

Please sign in to comment.