alias should use symbols with quotationmarks
--------------------------------------------

                 Key: JRUBY-4119
                 URL: http://jira.codehaus.org/browse/JRUBY-4119
             Project: JRuby
          Issue Type: Bug
          Components: Interpreter
    Affects Versions: JRuby 1.3.1
            Reporter: Martin Körner


$ test = :'<=>'  # :<=>
$ test.class # Symbol
$ test.to_s # "<=>"

$ alias :mytest :'<=>' # Syntax Error: unexpected tSTRING_CONTENT

In Ruby 1.8.6 and 1.8.7, this is good code


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to