Project

General

Profile

Actions

Bug #1692

closed

warning: useless use of a literal in void context

Added by znz (Kazuhiro NISHIYAMA) over 15 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.2dev (2009-06-24 trunk 23837) [i686-linux]
Backport:
[ruby-dev:38717]

Description

=begin
1.8 では
warning: useless use of a literal in void context
が出るときに 1.9 だと何も出ません。

% ruby18 -ve '1'
ruby 1.8.8dev (2009-06-23 revision 23825) [i686-linux]
-e:1: warning: useless use of a literal in void context
% ruby-trunk -ve '1'
ruby 1.9.2dev (2009-06-24 trunk 23837) [i686-linux]
%
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0