Project

General

Profile

Actions

Bug #11535

closed

inaccessable keyword arg names are allowed

Bug #11535: inaccessable keyword arg names are allowed

Added by bughit (bug hit) about 10 years ago. Updated about 10 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:<unknown>]

Description

foo(for: 1)
end

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

Updated by nobu (Nobuyoshi Nakada) about 10 years ago Actions #1

  • Description updated (diff)
  • Status changed from Open to Rejected

Yes, exactly local_variable_get is introduced for that purpose.

Actions

Also available in: PDF Atom