[Bug #1950] 警告が正しく発っせられない

Bug #1950: e$B7Y9p$,@5$7$/H/$C$;$i$l$J$$e(B

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

a.rb e$B$K$"$k7Y9pBP>]$,!e(Ba.rb
e$B<+BN$r;2>H$7$F$bH/$C$;$i$l$J$$$N$Ke(B b.rb e$B$Je(B
[email protected]\E*[email protected]>l9g$K$Oe(B (b.rb e$B$N$3$H$H$7$Fe(B)

$ cat a.rb
/[aa]/ =~ a
$ cat b.rb
require a

$ ./ruby -w -I. a.rb
$ ./ruby -w -I. b.rb
b.rb:1: warning: character class has duplicated range: /[aa]/

e$B%A%1%C%He(B #1950 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE)

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

Applied in changeset r24716.


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