summary refs log tree commit diff stats
path: root/compiler/transf.nim
diff options
context:
space:
mode:
authorcooldome <cdome@bk.ru>2020-03-25 13:44:52 +0000
committerGitHub <noreply@github.com>2020-03-25 13:44:52 +0000
commit182d3c16e3b7aac9ed3575dec55e6d9a3d5042c4 (patch)
tree79c9531d5252f66df2d28d29cf233dff9a40029e /compiler/transf.nim
parent46c827be6a959be3d3bb840d1582bac8fc55bda6 (diff)
downloadNim-182d3c16e3b7aac9ed3575dec55e6d9a3d5042c4.tar.gz
fixes #13744 (#13749)
* fixes #13744

* improve style

Co-authored-by: cooldome <ariabushenko@gmail.ru>
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 c1af6c23f..18d9b9130 100644
--- a/compiler/transf.nim
+++ b/compiler/transf.nim
@@ -462,7 +462,7 @@ proc transformConv(c: PTransf, n: PNode): PNode =
   var dest = skipTypes(n.typ, abstractVarRange)
   var source = skipTypes(n[1].typ, abstractVarRange)
   case dest.kind
-  of tyInt..tyInt64, tyEnum, tyChar, tyBool, tyUInt8..tyUInt32:
+  of tyInt..tyInt64, tyEnum, tyChar, tyUInt8..tyUInt32:
     # we don't include uint and uint64 here as these are no ordinal types ;-)
     if not isOrdinalType(source):
       # float -> int conversions. ugh.