Reported By: Christian Kaufmann Reported On: 9/17/2015 For: Version 2.01 Build 2
# 4250Referencing Instance Methods in a Class Method Causes Compiler Error I have the following code, and it worked fine in EWB 1. Now I get a compiler error:
[Error] BSCore.wbs (215,19): Cannot access the Exists(AName) instance member from within a class method
class function TBSStorage.GetLocaleAsString(const AName: String; const ADefault: String = ''): String;
begin
if LocalStorage.Exists(AName)
then Result := LocalStorage.Items[AName]
else Result := ADefault;
end;
ResolutionFixed Problem on 9/17/2015 in version 2.02 build 1
Products AffectedElevate Web Builder Elevate Web Builder Trial