Replaced 'auto' with explicit types in sort anon proc.

This commit is contained in:
Dominik Picheta 2016-01-12 20:08:13 +00:00
commit 2485ab6746

View file

@ -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(", ") & "]"