Project

General

Profile

Actions

Feature #6390

closed

ラムダの宣言ででるsyntax errorについて

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

Status:
Closed
Target version:
-
[ruby-dev:45605]

Description

->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

この記述でもエラーにならないようには出来ないのでしょうか?

Actions

Also available in: Atom PDF

Like0
Like0Like0