Revert "fix #15836 proc arg return type auto unexpectly match proc with concr… (#21044)"
This reverts commit 0cd9bdcf9f.
This commit is contained in:
parent
da3274d1b3
commit
db56fc3bcb
9 changed files with 12 additions and 23 deletions
|
|
@ -422,7 +422,7 @@ type SpellCandidate = object
|
|||
msg: string
|
||||
sym: PSym
|
||||
|
||||
template toOrderTup(a: SpellCandidate): (int, int, string) =
|
||||
template toOrderTup(a: SpellCandidate): auto =
|
||||
# `dist` is first, to favor nearby matches
|
||||
# `depth` is next, to favor nearby enclosing scopes among ties
|
||||
# `sym.name.s` is last, to make the list ordered and deterministic among ties
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue