summary refs log tree commit diff stats
path: root/compiler/transf.nim
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2019-08-27 12:21:04 +0200
committerArne Döring <arne.doering@gmx.net>2019-08-27 12:28:18 +0200
commitab8241ad42635693df8a50326ebb24d52343059a (patch)
tree7c5eb88281855f31d62d84d2c068a4bdba7d3149 /compiler/transf.nim
parenta562de2d9189706a9b7b9045c8abf9b821549692 (diff)
downloadNim-ab8241ad42635693df8a50326ebb24d52343059a.tar.gz
minor stuff
Diffstat (limited to 'compiler/transf.nim')
-rw-r--r--compiler/transf.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/transf.nim b/compiler/transf.nim
index 555583685..6be688ace 100644
--- a/compiler/transf.nim
+++ b/compiler/transf.nim
@@ -718,7 +718,7 @@ proc transformCase(c: PTransf, n: PNode): PTransNode =
     result.add(elseBranch)
   elif result.PNode.lastSon.kind != nkElse and not (
       skipTypes(n.sons[0].typ, abstractVarRange).kind in
-        {tyInt..tyInt64, tyChar, tyEnum, tyUInt..tyUInt32}):
+        {tyInt..tyInt64, tyChar, tyEnum, tyUInt..tyUInt64}):
     # fix a stupid code gen bug by normalizing:
     var elseBranch = newTransNode(nkElse, n.info, 1)
     elseBranch[0] = newTransNode(nkNilLit, n.info, 0)