Project

General

Profile

Actions

Bug #6419

closed

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

Added by uy (西行寺 うゆ) over 12 years ago. Updated over 12 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3p194 (2012-04-20) [i386-mingw32]
Backport:
[ruby-dev:45631]

Description

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

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

Actions

Also available in: Atom PDF

Like0
Like0Like0