Compile errors in generated code for unused edge types
How to reproduce
Define an edge type with sub-types of which one is not used.
Example
node SomeNode {
...
incomingEdges(Read)
}
abstract edge DataFlow
edge Read extends DataFlow {...}
edge Write extends DataFlow {...}
Error
The generated code contains compile errors in the getRootElement
method of the class related to the unused edge sub-type.
For the example above, the generated Write.java
shows this error:
It extends the generated class DataFlow
where the method has this signature: