Explorar o código

fixed bug in tunaryplusnode.pass_typecheck introduced in my previous commit r23737

git-svn-id: branches/i8086@23744 -
nickysn %!s(int64=12) %!d(string=hai) anos
pai
achega
4ac508a2b9
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      compiler/nmat.pas

+ 2 - 1
compiler/nmat.pas

@@ -912,7 +912,8 @@ implementation
          else if is_32bitint(left.resultdef) then
            begin
              inserttypeconv(left,s32inttype);
-             resultdef:=left.resultdef
+             result:=left;
+             left:=nil;
            end
 {$endif cpu16bitalu or cpu8bitalu}
         else if (left.resultdef.typ=orddef) then