Closed zen010101 closed 2 days ago
I guess this should be first asked on the forum, to refine any bug search.
Sounds like a compiler bug to me. No problem with Delphi running your code.
If we write
for d1 in DocList(j) do
begin
phones := d1.L['phones'];
for d2 in phones do
writeln(d2['number']);
end;
there is no problem with FPC any more.
I have added some tests about this pattern.
Compiler: FPC 3.3.1-16402-g99943610cb-dirty OS: Windows 11