spurious warning messages when yaml is analized with debug option.
------------------------------------------------------------------

                 Key: JRUBY-1402
                 URL: http://jira.codehaus.org/browse/JRUBY-1402
             Project: JRuby
          Issue Type: Bug
          Components: JRuby-extras
    Affects Versions: JRuby 1.0.1
         Environment: % jruby -v
ruby 1.8.5 (2007-08-23 rev 4201) [i386-jruby1.0.1]

            Reporter: Tooru TAKAHASHI
            Assignee: Thomas E Enebo
            Priority: Minor


I get the following problem.

% jruby -ryaml -d -e 'YAML.load(:symbol.to_yaml)' 
file:/home/tooru/share/jruby-1.0.1/lib/jruby.jar!/builtin/javasupport/proxy/concrete.rb:5
 warning: `*' interpreted as argument prefix # <= unrelated this issue. 
file:/home/tooru/share/jruby-1.0.1/lib/jruby.jar!/builtin/javasupport/proxy/interface.rb:7
 warning: `&' interpreted as argument prefix # <= unrelated this issue. 
<script>:0 warning: Useless use of a literal in void context. # <= This!

A lot of Symbols are included in YAML, 
a large amount of this messages are displayed. 

This message is generated only in JRuby and it is not generated in Ruby (Matz 
Ruby).

My CRuby version is
% ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-freebsd5]

My best regards. 

-- 
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