From cc28eef38e601171644ffe1a2775744eaaca8123 Mon Sep 17 00:00:00 2001 From: Clyybber Date: Tue, 7 May 2019 12:37:28 +0200 Subject: Replace countup(x, y) with x .. y --- compiler/sighashes.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/sighashes.nim') diff --git a/compiler/sighashes.nim b/compiler/sighashes.nim index ce769ab3b..046479de4 100644 --- a/compiler/sighashes.nim +++ b/compiler/sighashes.nim @@ -134,7 +134,7 @@ proc hashType(c: var MD5Context, t: PType; flags: set[ConsiderFlag]) = let inst = t.typeInst t.typeInst = nil assert inst.kind == tyGenericInst - for i in countup(0, inst.len - 2): + for i in 0 .. inst.len - 2: c.hashType inst.sons[i], flags t.typeInst = inst return -- cgit 1.4.1-2-gfad0