Properties with Array cannot be compilerd
Original Reporter info from Mantis: lxpbuaa
-
Reporter name: lxpbuaa
Original Reporter info from Mantis: lxpbuaa
- Reporter name: lxpbuaa
Description:
Hi 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!
Mantis conversion info:
- Mantis ID: 37742