macro def foo bar
def_edb `bar`, "something"
NoMethodError: undefined method `name' for Unquote
to be raised because def_edb is being expanded before foo is.
I'm not sure how to fix this behavior. I figure we either need def_edb to be unquote tolerate, or to expand it after the macro it is in.
I don't like the idea of making it unquote proof as much because it means that that's one more thing a plugin writer would have to worry about, but if it's simpler maybe we could start there.
It also can't be called in a closure.
def foo r:Runnable
def_edb run, 'aoeu.edb'
undefined method `defining_class' for #<Mirah::AST::Block:0x32007142>