Reported By: Michael Dreher Reported On: 1/26/2018 For: Version 2.06 Build 11
# 4628Including an Implementation-Only Function with the Same Name as a Class Method Causes Compile Error The code in the implementation section is as follows.
At (*) I get:
[Error] Unit1.wbs (27,10): Implementation does not match prior declaration
but not sure why. The name "foo" isn't declared anywhere in global scope. My guess is there's a name clash with TFoo.foo, but it should not.
implementation
type
TFoo = class(TForm)
public
class function foo() : string;
end;
class function TFoo.foo() : string;
begin
end;
function foo() : string; // (*)
begin
end;
end.
ResolutionFixed Problem on 1/28/2018 in version 2.06 build 12
Products AffectedElevate Web Builder Elevate Web Builder Trial