adambeynon/opal — Issue #64: super doesn't work with mixins.
Author: meh
Created: 2012-01-13 23:07:55+00:00
State: open
Labels: bug

```ruby
>> module LOL; def initialize (nigger); puts "wat #{nigger} wat"; end; end
nil
>> class OMG; include LOL; def initialize; super("^_^"); end; end
nil
>> OMG.new
wat ^_^ wat
#
```
```ruby
>> module LOL; def initialize (nigger); puts "wat #{nigger} wat"; end; end
Exception: Cannot call method '$inspect' of undefined

=> nil
>> class OMG; include LOL; def initialize; super("^_^"); end; end
=> #
>> OMG.new
Exception: Cannot read property 'undefined' of undefined
from OMG#initialize at /core/class.rb:12
from OMG.new at (irb):1
=> nil
```