diff options
author | cooldome <cdome@bk.ru> | 2020-03-25 13:44:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-25 13:44:52 +0000 |
commit | 182d3c16e3b7aac9ed3575dec55e6d9a3d5042c4 (patch) | |
tree | 79c9531d5252f66df2d28d29cf233dff9a40029e /compiler/transf.nim | |
parent | 46c827be6a959be3d3bb840d1582bac8fc55bda6 (diff) | |
download | Nim-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.nim | 2 |
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. |