Ticket #189 (closed enhancement: fixed)
When method calls have incorrect number of arguments or types, give the method sigs
Reported by: | Chuck | Owned by: | Chuck |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
Suppose you get this error:
error: The method "invoke" is expecting 8 arguments, but 3 are being supplied in this call.
It would be productive if Cobra displayed the method signature.
Don't forget about overloads.
Don't forget errors can occur because of typing rather than wrong number.
In addition to "error" and "warning", perhaps we need a 3rd kind of message: "info"
Attachments
Change History
Note: See
TracTickets for help on using
tickets.