Bug #8060

Dir.new に意味のないキーワード引数を与えてもエラーにならない

Added by tadayoshi funaba about 1 year ago. Updated 5 months ago.

[ruby-dev:47152]
Status:Closed
Priority:Low
Assignee:Nobuyoshi Nakada
Category:-
Target version:-
ruby -v:ruby 2.1.0dev (2013-03-09 trunk 39650) [i686-linux] Backport:

Description

Dir.new に意味のないキーワード引数を与えてもエラーにならない。

$ ruby -v -e 'p Dir.new(".", yencoding: "a")'
ruby 2.1.0dev (2013-03-09 trunk 39650) [i686-linux]
#Dir:.

Associated revisions

Revision 43935
Added by Nobuyoshi Nakada 5 months ago

dir.c: check unknown keywords

  • dir.c (dir_initialize): check unknown keywords. [Bug #8060]

History

#1 Updated by Hiroshi SHIBATA 5 months ago

  • Assignee set to Nobuyoshi Nakada

#2 Updated by Nobuyoshi Nakada 5 months ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r43935.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


dir.c: check unknown keywords

  • dir.c (dir_initialize): check unknown keywords. [Bug #8060]

Also available in: Atom PDF