[Patch] Copy() from open array to dynamic array
Original Reporter info from Mantis: kluug.net @onpok
-
Reporter name: Ondrej Pokorny
Original Reporter info from Mantis: kluug.net @onpok
- Reporter name: Ondrej Pokorny
Description:
The attached patch extends the Copy() intrinsic to be able to copy an open array to a dynamic array
Steps to reproduce:
procedure Test(const A: array of Integer);
var
B: array of Integer;
begin
B := Copy(A);
B := Copy(A, 2, Length(A)-2);
end;
Mantis conversion info:
- Mantis ID: 37221
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 46890 (#d3e18ccb)