summary refs log tree commit diff stats
path: root/compiler/sighashes.nim
diff options
context:
space:
mode:
authorClyybber <darkmine956@gmail.com>2019-05-07 12:37:28 +0200
committerClyybber <darkmine956@gmail.com>2019-05-07 12:37:28 +0200
commitcc28eef38e601171644ffe1a2775744eaaca8123 (patch)
tree720cfdcb95072394a62d365cc18f7b6c71ffe031 /compiler/sighashes.nim
parentf18b3af9d4a6393ba988cdb17d8f0861b1c75c7d (diff)
downloadNim-cc28eef38e601171644ffe1a2775744eaaca8123.tar.gz
Replace countup(x, y) with x .. y
Diffstat (limited to 'compiler/sighashes.nim')
-rw-r--r--compiler/sighashes.nim2
1 files changed, 1 insertions, 1 deletions
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