From 8e58bbea61d4288547dd5ef7aedc06b7651e0673 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 16 Oct 2024 22:37:40 +0200 Subject: [PATCH] * set proper expectloc for dyn. array comparisons, resolves #40947 --- compiler/nadd.pas | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/nadd.pas b/compiler/nadd.pas index d36b0bb58e..93c812314c 100644 --- a/compiler/nadd.pas +++ b/compiler/nadd.pas @@ -3967,8 +3967,7 @@ const right := nil; end; unequaln,equaln: - { nothing to do } - ; + expectloc:=LOC_FLAGS; else Internalerror(2018030301); end;