I've following hierarchy:
Setup extends BaseSetup
BaseSetup extends CoreSetup
CoreSetup
My setup class implements following:
function load()
My BaseSetup implements following:
protected function load(key, numberOfDataFields)
My CoreSetup following:
protected function load(key, numberOfDataFields)
As you can see the BaseSetup overrides the function of the CoreSetup.
As you can see as well, the final Setup class wants to define a load function that does NOT override any base functions but this does not work anymore in CIQ 4.1.6 and CIQ 4.1.7
I get following error: Cannot override '$.BaseSetup.load' with a different number of parameters.
Question
In the past the compiler was smart enough to detect that functions with different parameters do NOT override the function in the parent class. Is this a new "rule" that functions with same names are not allowed anymore? Do I really need to use different names now for all functions even if I use different parameters?