mita icon indicating copy to clipboard operation
mita copied to clipboard

Double Angle-bracket is not valid

Open wegendt-bosch opened this issue 6 years ago • 0 comments

You can't write this: message: "mismatched input '>>' expecting '>'"

var y: array<array<int32>>;

This is not an issue currently, since optionals will forbid nested generated types anyway.

Not that easy to fix since the parser recurses in between >s. It would probably be better to remove the >>-keyword and replace it with hidden(): '>' '>'.

EDIT: Actually, you can't do that with enums (the hidden() part).

Also, are we C++ now? C++ is bad and should burn in hell

wegendt-bosch avatar Apr 25 '18 14:04 wegendt-bosch