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/