Project

General

Profile

Actions

Bug #8060

closed

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

Added by tadf (tadayoshi funaba) about 11 years ago. Updated over 10 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.1.0dev (2013-03-09 trunk 39650) [i686-linux]
Backport:
[ruby-dev:47152]

Description

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

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

Actions #1

Updated by hsbt (Hiroshi SHIBATA) over 10 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)
Actions #2

Updated by nobu (Nobuyoshi Nakada) over 10 years 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

Actions

Also available in: Atom PDF

Like0
Like0Like0