Reported By: Michael Dreher Reported On: 11/19/2015 For: Version 2.03 Build 1
# 4319Class Constructors with Default Parameters Causing Invalid Duplicate Identifier Errors The following class declaration causes a compiler error for the 2'nd constructor:
type
TftRequest2 = class
private
public
constructor Create; override;
constructor Create(const queryType : string; queryNo : integer=0);
end;
CommentsThis was a bug in dealing with default parameters when comparing routine prototypes. Instead of noting that the non-default parameter count was the same and then proceeding to the actual parameter type checking, the compiler punted and stopped there with an error.
ResolutionFixed Problem on 11/19/2015 in version 2.04 build 1
Products AffectedElevate Web Builder Elevate Web Builder Trial