Too much circular reference marker (duplicated)
Submitted by Jeno Attila Balasko
Assigned to Jeno Attila Balasko
Link to original bug (#507930)
Description
module test1 {
type union no_choice { no_choice n1 //no_choice1 n2 }
}
There are 3 error markers on this code:
Description Resource Path Location Type
Circular reference chain: type reference: @test1.no_choice -> type reference: @test1.no_choice -> type reference: no_choice' test1.ttcn /TR_2016_11/src line 3 on-the-fly semantic markers Circular reference chain:
type reference: @test1.no_choice -> type reference: no_choice -> type reference: @test1.no_choice' test1.ttcn /TR_2016_11/src line 3 on-the-fly semantic markers
Circular reference chain: `type reference: no_choice -> type reference: @test1.no_choice -> type reference: @test1.no_choice' test1.ttcn /TR_2016_11/src line 4 on-the-fly semantic markers
The first and the second is a duplication. Use only one.
Reason: If there are 3 elements in the chain, three messages are created: 0->1->2, 1->2->0 and 2->0->1, reported on location of the actually first element. But 0=2 because of circularity thus the last message is superfluous duplication.
Version: 5.5.0