The warinig message is not displayed when useless use of a quote symbol.
------------------------------------------------------------------------
Key: JRUBY-1541
URL: http://jira.codehaus.org/browse/JRUBY-1541
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.0.2
Environment: % jruby -v
ruby 1.8.5 (2007-11-01 rev 4810) [i386-jruby1.0.2]
% java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)
Reporter: Tooru TAKAHASHI
Assignee: Thomas E Enebo
Priority: Trivial
I found following issue.
{quote}
% jruby -d -e ':sym'
-e:1 warning: Useless use of a literal in void context.
% jruby -d -e ':"sym"'
(Nothing is displayed)
{quote}
MRI outputs warning message in both cases.
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