Explorar el Código

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

git-svn-id: trunk@14690 -
florian hace 15 años
padre
commit
3c7f726f98
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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;