소스 검색

* also set the persistent typedef of simplified ordconstn type conversions
(related to mantis #17458)

git-svn-id: trunk@16071 -

Jonas Maebe 15 년 전
부모
커밋
d1206c6279
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      compiler/ncnv.pas

+ 1 - 0
compiler/ncnv.pas

@@ -2268,6 +2268,7 @@ implementation
                    else
                      testrange(resultdef,tordconstnode(left).value,(nf_explicit in flags));
                    left.resultdef:=resultdef;
+                   tordconstnode(left).typedef:=resultdef;
                    result:=left;
                    left:=nil;
                    exit;