[MacRuby-devel] [MacRuby] #652: "alias" keyword doesn't compile with symbolized-interpolated-strings
MacRuby
ruby-noreply at macosforge.org
Tue Apr 13 21:45:09 PDT 2010
#652: "alias" keyword doesn't compile with symbolized-interpolated-strings
---------------------------------------+------------------------------------
Reporter: joshua.ballanco@… | Owner: lsansonetti@…
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/>
More information about the MacRuby-devel
mailing list