Issue #6390 has been reported by uy (西行寺 うゆ).
Feature #6390: ラムダの宣言ででるsyntax errorについて
Author: uy (西行寺 うゆ)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
->x,y{x+y}
->(x,y){x+y}
->x,y {x+y}
->(x,y) {x+y}
→ x,y{x+y}
→ (x,y){x+y} # これだけ syntax error
この記述でもエラーにならないようには出来ないのでしょうか?
Issue #6390 has been updated by shyouhei (Shyouhei U.).
Category set to core
Status changed from Open to Assigned
Assignee set to nobu (Nobuyoshi N.)
これはバグだと思いますがいかがでしょう。
Feature #6390: ラムダの宣言ででるsyntax errorについて
Author: uy (西行寺 うゆ)
Status: Assigned
Priority: Normal
Assignee: nobu (Nobuyoshi N.)
Category: core
Target version:
->x,y{x+y}
->(x,y){x+y}
->x,y {x+y}
->(x,y) {x+y}
→ x,y{x+y}
→ (x,y){x+y} # これだけ syntax error
この記述でもエラーにならないようには出来ないのでしょうか?
$B$^$D$b$H(B $B$f$-$R$m$G$9(B
In message “Re: [ruby-dev:45606] [ruby-trunk - Feature #6390][Assigned]
$B%i%`%@$N@k8@$G$G$k(Bsyntax error$B$K$D$$$F(B”
on Wed, 2 May 2012 16:10:17 +0900, “shyouhei (Shyouhei U.)”
[email protected] writes:
|$B$3$l$O%P%0$@$H;W$$$^$9$,$$$+$,$G$7$g$&!#(B
$B$?$7$+$K!#DL$7$?$[$&$,$$$$$G$9$M!#(B