Ticket #118 (new enhancement)
Improve error message for generic type names that are missing "of"
Reported by: | Chuck | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | error message, generics | Cc: |
Description
class X def main is shared d = Dictionary<int, int>() # error: Expecting an expression. t = List<int>() # error: Expecting an expression.
The error message should instruct the user that if they are naming a generice, then they are missing "of".
Also, catch this problem in declarations such as inherits List<int> and def foo as List<int>
Change History
Note: See
TracTickets for help on using
tickets.