Ver Fonte

* typeconvnodes are only equal if also their result type is equal

git-svn-id: trunk@14690 -
florian há 15 anos atrás
pai
commit
3c7f726f98
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      compiler/ncnv.pas

+ 2 - 1
compiler/ncnv.pas

@@ -3018,7 +3018,8 @@ implementation
       begin
         docompare :=
           inherited docompare(p) and
-          (convtype = ttypeconvnode(p).convtype);
+          (convtype = ttypeconvnode(p).convtype) and
+          equal_defs(resultdef,left.resultdef);
       end;