mirah/mirah — pull request #217 by ralph-moeritz (2013-05-02 20:02:20+00:00)
Title: Issue #216

Attempt to fix #216. Seems to fix that issue, but getting another error now. *Sigh*.

```
Inferring types...
src/org/mirah/macros/builder.mirah:52: undefined method `declared_instance_methods' for Type(error):Mirah::AST::TypeReference
def initialize(objects:List)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@index = 0
^^^^^^^^^^^^^^
@objects = objects
^^^^^^^^^^^^^^^^^^^^^^
end
^^^^^^
Exception in thread "main" org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `declared_instance_methods' for Type(error):Mirah::AST::TypeReference

at Mirah::JVM::MethodLookup.find_jls(file:/F:/Ralph/Temp/src/mirah/javalib/mirah-newast-transitional.jar!/mirah/jvm/method_lookup.rb:65)

at Mirah::JVM::MethodLookup.find_method(file:/F:/Ralph/Temp/src/mirah/javalib/mirah-newast-transitional.jar!/mirah/jvm/method_lookup.rb:43)

at Mirah::JVM::Typer.infer_signature(file:/F:/Ralph/Temp/src/mirah/javalib/mirah-newast-transitional.jar!/mirah/jvm/typer.rb:155)
[...]
```