[Bug #2136] 警告が正しくない

Bug #2136: e$B7Y9p$,@5$7$/$J$$e(B

e$B5/I<<Te(B: tadayoshi funaba
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Low
ruby -v: ruby 1.9.2dev (2009-09-23 trunk 25046) [i686-linux]

Bug #1950 e$B$HKX$IF1$88=>]$G$9!#e(B

$ cat x.rb
if a = 1
$ cat y.rb
require x

$ ./ruby -w -I. x.rb
$ ./ruby -w -I. y.rb
x.rb:1: warning: found = in conditional, should be ==

e$B%A%1%C%He(B #2136 e$B$,99?7$5$l$^$7$?!#e(B (by Nobuyoshi N.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

Applied in changeset r25053.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs