Some problems with array
Original Reporter info from Mantis: henrique @henriquewerlang
-
Reporter name: henrique
Original Reporter info from Mantis: henrique @henriquewerlang
- Reporter name: henrique
Description:
When I convert the unit classes, some functions that have an "array of" are still being generated wrong, below the original source and the converted one.
Original, starting line 302:
procedure AddStrings(TheStrings: TStrings); overload; virtual;
procedure AddStrings(TheStrings: TStrings; ClearFirst : Boolean); overload;
procedure AddStrings(const TheStrings: array of string); overload; virtual;
procedure AddStrings(const TheStrings: array of string; ClearFirst : Boolean); overload;
Converted:
procedure AddStrings(TheStrings: TStrings); overload; virtual;
procedure AddStrings(TheStrings: TStrings; ClearFirst: Boolean); overload;
procedure AddStrings(const TheStrings: = Array of &string); overload; virtual;
procedure AddStrings(const TheStrings: = Array of &string; ClearFirst: Boolean); overload;
Steps to reproduce:
makestub.exe -i "Classes.pas" -o "ClassesConv.pas"
Mantis conversion info:
- Mantis ID: 37502
- OS: Windows
- OS Build: 10
- Build: trunk
- Platform: Web
- Fixed in version: trunk
- Fixed in revision: 46304