Reported By: Matthew Jones Reported On: 10/24/2016 For: Version 2.05 Build 4
# 4467Enumerated 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.
TokenTypes = ( Plus, Minus, Times, Divide );
function Test : TokenTypes;
Result := Minus;
Comments and WorkaroundsThe workaround is to use a different name for the enumerated type member.
ResolutionFixed Problem on 11/1/2016 in version 2.06 build 1
Products AffectedElevate Web Builder Elevate Web Builder Trial