#652: "alias" keyword doesn't compile with symbolized-interpolated-strings
---------------------------------------+------------------------------------
Reporter: joshua.balla...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
---------------------------------------+------------------------------------
The following works in Ruby but not MacRuby:
{{{
class String
a = 'length'
b = :bar
alias :"get#{b.capitalize}" :"#{a}"
end
"test".getBar
}}}
Result is:
Assertion failed: (nd_type(node->u1.node) == NODE_LIT), function
compile_node, file compiler.cpp, line 4694.
--
Ticket URL: <http://www.macruby.org/trac/ticket/652>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel