[ruby-trunk - Bug #6419][Open] { } ではなく do ~ end でかくとsyntax errorでる箇所

Issue #6419 has been reported by uy (西行寺 うゆ).


Bug #6419: { } ではなく do ~ end でかくとsyntax errorでる箇所

Author: uy (西行寺 うゆ)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3p194 (2012-04-20) [i386-mingw32]

こういうのを書いた場合にsyntax errorがでるみたいです

(({

p begin
1.times { 1 }
1.times do 1 end # syntax error
end

}))

Issue #6419 has been updated by nobu (Nobuyoshi N.).

Description updated


Bug #6419: { } ではなく do ~ end でかくとsyntax errorでる箇所

Author: uy (西行寺 うゆ)
Status: Closed
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3p194 (2012-04-20) [i386-mingw32]

=begin
こういうのを書いた場合にsyntax errorがでるみたいです

p begin
1.times { 1 }
1.times do 1 end # syntax error
end
=end