Merge branch 'devel' of https://github.com/Araq/Nimrod into devel

This commit is contained in:
Araq 2014-08-21 10:00:09 +02:00
commit 014b79617e

View file

@ -1390,7 +1390,7 @@ proc skipConv*(n: PNode): PNode =
case n.kind
of nkObjUpConv, nkObjDownConv, nkChckRange, nkChckRangeF, nkChckRange64:
# only skip the conversion if it doesn't lose too important information
# (see bug #
# (see bug #1334)
if n.sons[0].typ.classify == n.typ.classify:
result = n.sons[0]
of nkHiddenStdConv, nkHiddenSubConv, nkConv: