浏览代码

* set proper expectloc for dyn. array comparisons, resolves #40947

florian 11 月之前
父节点
当前提交
8e58bbea61
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      compiler/nadd.pas

+ 1 - 2
compiler/nadd.pas

@@ -3967,8 +3967,7 @@ const
               right := nil;
             end;
           unequaln,equaln:
-            { nothing to do }
-            ;
+            expectloc:=LOC_FLAGS;
           else
             Internalerror(2018030301);
           end;