Ticket #357 (new defect)
Opened 11 years ago
Internal error for parameter named `result`
Reported by: | Charles | Owned by: | |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | Cobra Compiler | Version: | 0.9.6 |
Keywords: | Cc: |
Description
The following code gives an internal error:
class A def foo(result as int) as String return ''
The error goes away if result is named to something else, or if the return type and return statement are removed (add pass).
Whether the method is shared or not makes no difference.
Note: See
TracTickets for help on using
tickets.