Icon View Incident Report

Serious Serious
Reported By: Anders Westberg [Diginet AB]
Reported On: 12/29/2015
For: Version 2.03 Build 1
# 4315 Compiler Not Emitting Correct Code for Non-Default Array Properties

For array elements (non-default) in external classes the compiler generates javascript without the dot delimiter. See code below where Ext1 is an instance of an external class and Arr an array member:

function unit1_proc()
{
var n;
n = Ext1Arr[0];
};

   external TExtClass = class
   public
      property Arr[Index: integer]: integer read write;
   end;

var 
   external Ext1: TExtClass;

implementation

procedure Proc;
var
   n: integer;
begin
   n := Ext1.Arr[0];
end;



Resolution Resolution
Fixed Problem on 12/29/2015 in version 2.04 build 1


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image