Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
This commit is contained in:
commit
014b79617e
1 changed files with 1 additions and 1 deletions
|
|
@ -1390,7 +1390,7 @@ proc skipConv*(n: PNode): PNode =
|
||||||
case n.kind
|
case n.kind
|
||||||
of nkObjUpConv, nkObjDownConv, nkChckRange, nkChckRangeF, nkChckRange64:
|
of nkObjUpConv, nkObjDownConv, nkChckRange, nkChckRangeF, nkChckRange64:
|
||||||
# only skip the conversion if it doesn't lose too important information
|
# 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:
|
if n.sons[0].typ.classify == n.typ.classify:
|
||||||
result = n.sons[0]
|
result = n.sons[0]
|
||||||
of nkHiddenStdConv, nkHiddenSubConv, nkConv:
|
of nkHiddenStdConv, nkHiddenSubConv, nkConv:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue