Project

General

Profile

Actions

Feature #16923

closed

Switch reserved for numbered parameter warning to SyntaxError

Added by jeremyevans0 (Jeremy Evans) over 4 years ago. Updated over 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:98586]

Description

I propose to make _1 = 1 a SyntaxError, instead of emitting a warning (it emits a warning in 2.7). I've implemented this proposal in a pull request: https://github.com/ruby/ruby/pull/3163

Actions

Also available in: Atom PDF

Like0
Like0