Project

General

Profile

Feature #16923

Switch reserved for numbered parameter warning to SyntaxError

Added by jeremyevans0 (Jeremy Evans) about 1 month ago.

Status:
Open
Priority:
Normal
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

No data to display

Also available in: Atom PDF