diff options
author | Araq <rumpf_a@web.de> | 2014-08-21 10:00:09 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-08-21 10:00:09 +0200 |
commit | 014b79617ec08141c06aaff1aaf777cecf535633 (patch) | |
tree | 8d561258658c9541085a1eea5ebdf2d3938cfd8b | |
parent | 5432b2b83aebb139324cf44d1ebd4a88a7c85e39 (diff) | |
parent | 3f0c3ab6cf1eae1c31ad730f6b259fea149d9ca1 (diff) | |
download | Nim-014b79617ec08141c06aaff1aaf777cecf535633.tar.gz |
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
-rw-r--r-- | compiler/types.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/types.nim b/compiler/types.nim index 824ca47d0..ec2271deb 100644 --- a/compiler/types.nim +++ b/compiler/types.nim @@ -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: |