Replaced 'auto' with explicit types in sort anon proc.
This commit is contained in:
parent
14e0ca9a3b
commit
2485ab6746
1 changed files with 1 additions and 1 deletions
|
|
@ -642,7 +642,7 @@ proc listInstalled(options: Options) =
|
|||
add(s, pVer)
|
||||
h[pName] = s
|
||||
|
||||
h.sort(proc (a,b: auto): int = cmpIgnoreCase(a[0],b[0]))
|
||||
h.sort(proc (a, b: (string, seq[string])): int = cmpIgnoreCase(a[0], b[0]))
|
||||
for k in keys(h):
|
||||
echo k & " [" & h[k].join(", ") & "]"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue