Icon View Incident Report

Serious Serious
Reported By: Matthew Jones
Reported On: 10/24/2016
For: Version 2.05 Build 4
# 4467 Enumerated Type Members with Same Names as Other Symbols Cause Incorrect Compiler Error

The following fails to compile because Minus is defined as a string in WebCore. The error is shown as being in the Result assignment, and not the redefinition of Minus.

uses WebCore;

TokenTypes = ( Plus, Minus, Times, Divide );

function Test : TokenTypes;
begin
 Result := Minus;
end;



Comments Comments and Workarounds
The workaround is to use a different name for the enumerated type member.


Resolution Resolution
Fixed Problem on 11/1/2016 in version 2.06 build 1


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image