Open mlutze opened 6 years ago
This should be added as a type
and be parsed with the type parser.
Our syntax could be like this.
let x: List[T extends Canine] = new ArrayList[]()
I haven't seen or used the &
part before. We can add that too if required but I need to look into it more.
We don't currently support the compound data type that can be found in Java:
We may want to consider adding support for this sort of declaration.