Allowing to start functions with out and inout formal parameters
Submitted by Kristof Szabados
Link to original bug (#515512)
Description
According to the current TTCN-3 standard version (4.8.1) it is allowed to use a function with out and inout parameters in a component.start statement.
This was done to make the language more flexible ... but might introduce code quality issues. In such case it is not possible to return information via the out and inout parameters.
So this task has actually 2 tasks:
- implement the support for this feature in the core and plugins.
- add new code smell detector to check for such cases. (although being allowed, not receiving information via out and inout parameters it is most likely not the behaviour the user was expecting)
Version: 6.1.0