소스 검색

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

git-svn-id: trunk@14690 -
florian 15 년 전
부모
커밋
3c7f726f98
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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;