ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:98586] [Ruby master Feature#16923] Switch reserved for numbered parameter warning to SyntaxError
@ 2020-05-29 22:59 merch-redmine
  2020-07-22 15:36 ` [ruby-core:99266] " merch-redmine
  0 siblings, 1 reply; 2+ messages in thread
From: merch-redmine @ 2020-05-29 22:59 UTC (permalink / raw)
  To: ruby-core

Issue #16923 has been reported by jeremyevans0 (Jeremy Evans).

----------------------------------------
Feature #16923: Switch reserved for numbered parameter warning to SyntaxError
https://bugs.ruby-lang.org/issues/16923

* Author: jeremyevans0 (Jeremy Evans)
* Status: Open
* Priority: Normal
----------------------------------------
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



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-core:99266] [Ruby master Feature#16923] Switch reserved for numbered parameter warning to SyntaxError
  2020-05-29 22:59 [ruby-core:98586] [Ruby master Feature#16923] Switch reserved for numbered parameter warning to SyntaxError merch-redmine
@ 2020-07-22 15:36 ` merch-redmine
  0 siblings, 0 replies; 2+ messages in thread
From: merch-redmine @ 2020-07-22 15:36 UTC (permalink / raw)
  To: ruby-core

Issue #16923 has been updated by jeremyevans0 (Jeremy Evans).

Status changed from Open to Closed

Implemented in commit:d47e124857ecdccfeb0766c04cf1ef2cdfdd08bc

----------------------------------------
Feature #16923: Switch reserved for numbered parameter warning to SyntaxError
https://bugs.ruby-lang.org/issues/16923#change-86652

* Author: jeremyevans0 (Jeremy Evans)
* Status: Closed
* Priority: Normal
----------------------------------------
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



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-22 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-29 22:59 [ruby-core:98586] [Ruby master Feature#16923] Switch reserved for numbered parameter warning to SyntaxError merch-redmine
2020-07-22 15:36 ` [ruby-core:99266] " merch-redmine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).