ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:70833] [Ruby trunk - Bug #11535] [Open] inaccessable keyword arg names are allowed
       [not found] <redmine.issue-11535.20150917023753@ruby-lang.org>
@ 2015-09-17  2:37 ` alxtskrnk
  2015-09-17  4:57 ` [ruby-core:70835] [Ruby trunk - Bug #11535] [Rejected] " nobu
  1 sibling, 0 replies; 2+ messages in thread
From: alxtskrnk @ 2015-09-17  2:37 UTC (permalink / raw
  To: ruby-core

Issue #11535 has been reported by bug hit.

----------------------------------------
Bug #11535: inaccessable keyword arg names are allowed
https://bugs.ruby-lang.org/issues/11535

* Author: bug hit
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
```ruby
foo(for: 1)
end
```

foo param can not be accessed directly (without local_variable_get) since it's a reserved word



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

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

* [ruby-core:70835] [Ruby trunk - Bug #11535] [Rejected] inaccessable keyword arg names are allowed
       [not found] <redmine.issue-11535.20150917023753@ruby-lang.org>
  2015-09-17  2:37 ` [ruby-core:70833] [Ruby trunk - Bug #11535] [Open] inaccessable keyword arg names are allowed alxtskrnk
@ 2015-09-17  4:57 ` nobu
  1 sibling, 0 replies; 2+ messages in thread
From: nobu @ 2015-09-17  4:57 UTC (permalink / raw
  To: ruby-core

Issue #11535 has been updated by Nobuyoshi Nakada.

Description updated
Status changed from Open to Rejected

Yes, exactly `local_variable_get` is introduced for that purpose.

----------------------------------------
Bug #11535: inaccessable keyword arg names are allowed
https://bugs.ruby-lang.org/issues/11535#change-54210

* Author: bug hit
* Status: Rejected
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
```ruby
foo(for: 1)
end
```

`foo` param can not be accessed directly (without `local_variable_get`) since it's a reserved word



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

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

end of thread, other threads:[~2015-09-17  4:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-11535.20150917023753@ruby-lang.org>
2015-09-17  2:37 ` [ruby-core:70833] [Ruby trunk - Bug #11535] [Open] inaccessable keyword arg names are allowed alxtskrnk
2015-09-17  4:57 ` [ruby-core:70835] [Ruby trunk - Bug #11535] [Rejected] " nobu

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).