Explorar o código

* don't check type size equality for conversions to formaldef either

git-svn-id: trunk@33987 -
Jonas Maebe %!s(int64=9) %!d(string=hai) anos
pai
achega
8c006f04e2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      compiler/llvm/nllvmcnv.pas

+ 1 - 0
compiler/llvm/nllvmcnv.pas

@@ -233,6 +233,7 @@ procedure tllvmtypeconvnode.second_nothing;
         if not is_void(left.resultdef) and
            not(nf_absolute in flags) and
            (left.resultdef.typ<>formaldef) and
+           (resultdef.typ<>formaldef) and
            not is_open_array(resultdef) and
            not is_open_array(left.resultdef) and
           (left.resultdef.size<>resultdef.size) then