Bläddra i källkod

* treat conversions involving arrays of sets also as pointer conversions

git-svn-id: branches/jvmbackend@18667 -
Jonas Maebe 14 år sedan
förälder
incheckning
6cced31157
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      compiler/jvm/njvmcnv.pas

+ 1 - 1
compiler/jvm/njvmcnv.pas

@@ -884,7 +884,7 @@ implementation
             toarrtype:=jvmarrtype_setlength(todef);
             toarrtype:=jvmarrtype_setlength(todef);
             if not ptr_no_typecheck_required(fromdef,todef) then
             if not ptr_no_typecheck_required(fromdef,todef) then
               begin
               begin
-                if (fromarrtype in ['A','R','T']) or
+                if (fromarrtype in ['A','R','T','E','L']) or
                    (fromarrtype<>toarrtype) then
                    (fromarrtype<>toarrtype) then
                   begin
                   begin
                     if not check_only and
                     if not check_only and