Skip to content

Reordering of children does not work

Given the following grammar, ...

Nameable ::= <Name> ;
A : Nameable ::= B MyC:C ;
SubA : A ::= MyC:C B ;
B;
C;

... the following (wrong) constructor is being generated:

public SubA.SubA(String Name, B B, C MyC, C MyC, B B)

The problem is located in the attribute componentsTransitive in backend/Analysis.jrag