mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-28 08:09:16 +02:00
FpDebug: fix ":flatten" with embedded "[0..n]" slice in display mapping expression.
(cherry picked from commit 0b1bcf35de
)
This commit is contained in:
parent
5d41a0a20f
commit
b542a0f991
@ -3229,7 +3229,11 @@ var
|
||||
DisplayVal.AddReference;
|
||||
end
|
||||
else
|
||||
begin
|
||||
AMapExpr.BeginNeedCopy;
|
||||
DisplayVal := EvalExression(AMapExpr, ACurrentVal, OrigVal, False, ACurDepth, ACurKeyIdx, ACurKey);
|
||||
AMapExpr.EndNeedCopy;
|
||||
end;
|
||||
|
||||
if (DisplayVal <> nil) then begin
|
||||
ResIdx := InternalAdd(DisplayVal, ACurDepth, ACurKeyIdx, ACurKey);
|
||||
|
Loading…
Reference in New Issue
Block a user