Field of generated node does not have appropriate cloning method
peterwvj opened this issue · 2 comments
peterwvj commented
The specification below
...
| {myNode} [strs]:java_String*
..Leads to the follow compilation errors in the clone method of the generated node:
Bound mismatch: The generic method cloneListExternal(List<T>, Map<INode,INode>) of type Node is not applicable for the arguments (List<capture#4-of ? extends String>, Map<INode,INode>). The inferred type capture#4-of ? extends String is not a valid substitute for the bounded parameter <T extends ExternalNode>
peterwvj commented
Yes, I think you are very right