View Issue Details

IDProjectCategoryView StatusLast Update
0037742pas2jstranspilerpublic2020-09-16 23:50
Reporterlxpbuaa Assigned ToMattias Gaertner  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Summary0037742: Properties with Array cannot be compilerd
DescriptionHi sir,
type
    TEnum = (e1, e2, e3);
    TTest = class
    private
        FArr1: array[0..2] of Integer;
        FArr2: array[TEnum] of Integer;
    public
        property Prop1: Integer read FArr1[0] write FArr1[0];
        property Prop2: Integer read FArr2[e1] write FArr2[e1];
    end;
The code can be compilered with Delphi, but cannot with Pas2JS. Thanks!
TagsNo tags attached.
Fixed in Revision
Attached Files

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-09-12 16:14 lxpbuaa New Issue
2020-09-16 23:50 Michael Van Canneyt Assigned To => Mattias Gaertner
2020-09-16 23:50 Michael Van Canneyt Status new => assigned