Skip to content

Type compatibility issue for union templates

Summary

Conversion between two templates of two different union types, that are compatible with each other, fails at runtime (RT2 only). This issue was originally posted on the Eclipse forums: https://www.eclipse.org/forums/index.php/t/1112510/

Steps and/or TTCN-3 code to reproduce

See example in the forum post.

What is the current bug behavior?

Dynamic test case error during conversion.

What is the expected correct behavior?

Successful conversion.

Relevant logs and/or screenshots

See forum post.

Possible fixes

Update the union template conversion function generator.

Titan version

8.3.0

Platform details (OS type and version)

Any

/cc @aknappqwt @mmagyari