Icon View Incident Report

Serious Serious
Reported By: Michael Dreher
Reported On: 11/19/2015
For: Version 2.03 Build 1
# 4319 Class Constructors with Default Parameters Causing Invalid Duplicate Identifier Errors

The following class declaration causes a compiler error for the 2'nd constructor:

- // [Error] GlobalFunctions.wbs (255,17): Duplicate identifier declaration Create

type
 TftRequest2 = class
 private                       
 public    
   constructor Create; override;
   constructor Create(const queryType : string; queryNo : integer=0);
 end;



Comments Comments
This 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.


Resolution Resolution
Fixed Problem on 11/19/2015 in version 2.04 build 1


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image