Problem with component type template parameter default values
Summary
TITAN accepts system as default value for component type template parameter, yet is shouldn't. At the same time, it does not accept self as a default value, while it should.
Steps and/or TTCN-3 code to reproduce
Create a TTCN-3 project, and a module in it with the following content:
module my{
function fn_def_component_params(template ct_empty cp := system){}
}
This should not be able to be compiled. Now change system to self. This should be able to be compiled. Also, if system is changed to mtc or null, that should be able to be compiled too. But these latter 2 work as expected.
What is the current bug behavior?
See above.
What is the expected correct behavior?
See above.
Relevant logs and/or screenshots
Possible fixes
Titan version
8.1.2
Platform details (OS type and version)
Microsoft Windows 10 Enterprise 10.0.19042
/cc @aknappqwt