Ticket #342 (new defect)
Cannot declare method overloads in mixins
Reported by: | nerdzero | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Cobra Compiler | Version: | 0.9.4 |
Keywords: | mixin | Cc: |
Description
The following code produces the error message: 'mixin added method "foo" is already in class "Testing"'
mixin Behavior def foo(i as int) pass def foo pass class Testing adds Behavior pass
Change History
Note: See
TracTickets for help on using
tickets.