Skip to content

Designer Plugin does not support function parameters with default value as component variable

Summary

Designer Plugin marks as error function parameters with default value as component variable, error is: Reference to a static value was expected instead of variable `@EPTF_HTTP_Definitions.EPTF_HTTP_LGen_CT.v_EPTF_HTTP_myBIdx'

Steps and/or TTCN-3 code to reproduce

  function f_getIndex(in integer pl_Idx := myIdx) runs on CT return integer {
    log(pl_Idx);
  }

And define CT with 'integer myIdx' component variable.

/cc @aknappqwt @mmagyari