Project

General

Profile

Feature #16923

Switch reserved for numbered parameter warning to SyntaxError

Added by jeremyevans0 (Jeremy Evans) 8 months ago. Updated 6 months ago.

Status:
Closed
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

Updated by jeremyevans0 (Jeremy Evans) 6 months ago

  • Status changed from Open to Closed

Also available in: Atom PDF