Browse Source

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

git-svn-id: trunk@16071 -

Jonas Maebe 15 years ago
parent
commit
d1206c6279
1 changed files with 1 additions and 0 deletions
  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;