浏览代码

* typo in previous commit

git-svn-id: trunk@4392 -
peter 19 年之前
父节点
当前提交
ac673f392c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/defcmp.pas

+ 1 - 1
compiler/defcmp.pas

@@ -590,7 +590,7 @@ implementation
                  the extra check for deftyp is needed because equal defs can also return
                  the extra check for deftyp is needed because equal defs can also return
                  true if the def types are not the same, for example with dynarray to pointer. }
                  true if the def types are not the same, for example with dynarray to pointer. }
                if is_open_array(def_to) and
                if is_open_array(def_to) and
-                  (def_to.deftype=tarraydef(def_to).elementtype.def.deftype) and
+                  (def_from.deftype=tarraydef(def_to).elementtype.def.deftype) and
                   equal_defs(def_from,tarraydef(def_to).elementtype.def) then
                   equal_defs(def_from,tarraydef(def_to).elementtype.def) then
                 begin
                 begin
                   doconv:=tc_equal;
                   doconv:=tc_equal;