wrote a test case
interface Bar do;def run:void;end;end
Message: <"undefined method `defining_class' for #<Mirah::AST::Block:0x2f267610>">
the problem is that while the parent of the method definition of the closure is reset to the closure class, the scope somehow is still the block and not the new class for the outer closure.
This has been reported before #72
96a9074 fixes it!
So, they still don't work. But they don't work in a new way.
Excellent! Made me lol.
@baroquebobcat can you provide an updated test case?
I've got some ideas, but I won't be able to get back poking at them until next weekend. Part of the problem is that I'm trying to do some crazy things.
I think I have a partial solution, that fixes the simpler cases, but I'd like to dig in futher.
The new typer has fixed this apparently. updated test at e5f1c7d