View Issue Details

IDProjectCategoryView StatusLast Update
0037502pas2jstranspilerpublic2020-08-07 00:28
Reporterhenrique Assigned ToMichael Van Canneyt  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformWebOSWindows 
Fixed in Versiontrunk 
Summary0037502: Some problems with array
DescriptionWhen 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 Reproducemakestub.exe -i "Classes.pas" -o "ClassesConv.pas"
TagsNo tags attached.
Fixed in Revision46304
Attached Files

Activities

Michael Van Canneyt

2020-08-07 00:28

administrator   ~0124636

Fixed, thanks for reporting !

Issue History

Date Modified Username Field Change
2020-08-06 14:49 henrique New Issue
2020-08-07 00:28 Michael Van Canneyt Assigned To => Michael Van Canneyt
2020-08-07 00:28 Michael Van Canneyt Status new => resolved
2020-08-07 00:28 Michael Van Canneyt Resolution open => fixed
2020-08-07 00:28 Michael Van Canneyt Fixed in Version => trunk
2020-08-07 00:28 Michael Van Canneyt Fixed in Revision => 46304
2020-08-07 00:28 Michael Van Canneyt Note Added: 0124636