From 2485ab67464f0227fd253072e23fbfb3021cd79b Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Tue, 12 Jan 2016 20:08:13 +0000 Subject: [PATCH] Replaced 'auto' with explicit types in sort anon proc. --- src/nimble.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nimble.nim b/src/nimble.nim index 46f098a..f649d35 100644 --- a/src/nimble.nim +++ b/src/nimble.nim @@ -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(", ") & "]"