Ticket #78 (closed defect: fixed)
Using `raise` on a delegate should generate an error message
Reported by: | Chuck | Owned by: | Chuck |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
raise is for events only. In the error message, guide the user to the correct syntax for delegates.
Check ignore as well.
Currently, the compile throws an internal exception. Code:
class Test sig SimpleMethod def foo(s as SimpleMethod) raise s def main is shared pass
Attachments
Change History
Note: See
TracTickets for help on using
tickets.