[regression] [1.8] Dir.mkdir should accept any arg that responds to #to_s
-------------------------------------------------------------------------
Key: JRUBY-4179
URL: http://jira.codehaus.org/browse/JRUBY-4179
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.3, JRuby 1.2, JRuby 1.4
Reporter: Nick Sieger
Assignee: Thomas E Enebo
Fix For: JRuby 1.4
Consider:
{noformat}
$ ruby -v -e 'require "pathname"; p Dir.mkdir(Pathname.new("heh"))'
ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]
0
$ jruby -e 'require "pathname"; p Dir.mkdir(Pathname.new("heh"))'
-e:1: wrong argument type Pathname (expected String) (TypeError)
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email