Community
Participate
Working Groups
This egl code produces java error function testFunctionParameterIn1() {@Test} toggleValue = 1; localDec decimal = 111.11; switchOnInParameter(localDec); end function switchOnInParameter(localLen number in) resolved int = -1; case(localLen) when(111.11) resolved = 1; when(222.22) resolved = 2; otherwise resolved = 3; end LogResult.assertTrue1(resolved == toggleValue); toggleValue = 0; end The method switchOnInParameter(ENumber) in the type GenericParameters is not applicable for the arguments (BigDecimal) However this compiles and executes as desired function testFunctionParameterIn2() {@Test} toggleValue = 1; localDec decimal(5,2) = 111.11; switchOnInParameter(localDec); end
fixed
Verfied with 201110210902 & closed