Explorar el Código

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

git-svn-id: trunk@16071 -

Jonas Maebe hace 15 años
padre
commit
d1206c6279
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;