Project

General

Profile

Actions

Feature #6390

closed

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

Added by uy (西行寺 うゆ) about 12 years ago. Updated about 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