"
Reported by rogerpack2005, Jun 1, 2011
$ cat yo_mir
class A
macro def foo?
quote { isFoo }
end
def foo?
true
end
end
A.new.foo?
$ mirah yo_mir
yo_mir:6: undefined method `unreachable?' for #<Mirah::AST::InlineCode:0x498b5a73>
def foo?
^^^^^^^^^^^
true
^^^^^^^^^
end
^^^^^
Mirah::InternalCompilerError: undefined method `unreachable?' for #<Mirah::AST::InlineCode:0x498b5a73>
infer at /Users/rogerdpack/.rvm/gems/jruby-1.6.0/gems/mirah-0.0.7-java/lib/mirah/typer.rb:300
...
"
http://code.google.com/p/mirah/issues/detail?id=74
"
Reported by rogerpack2005, Jun 1, 2011
"
http://code.google.com/p/mirah/issues/detail?id=74