{"action":"closed","issue":{"url":"https://api.github.com/repos/jruby/jruby/issues/2033","labels_url":"https://api.github.com/repos/jruby/jruby/issues/2033/labels{/name}","comments_url":"https://api.github.com/repos/jruby/jruby/issues/2033/comments","events_url":"https://api.github.com/repos/jruby/jruby/issues/2033/events","html_url":"https://github.com/jruby/jruby/issues/2033","id":45400127,"number":2033,"title":"Problem with super not passing params with IR","user":{"login":"nirvdrum","id":12584,"avatar_url":"https://avatars.githubusercontent.com/u/12584?v=3","gravatar_id":"","url":"https://api.github.com/users/nirvdrum","html_url":"https://github.com/nirvdrum","followers_url":"https://api.github.com/users/nirvdrum/followers","following_url":"https://api.github.com/users/nirvdrum/following{/other_user}","gists_url":"https://api.github.com/users/nirvdrum/gists{/gist_id}","starred_url":"https://api.github.com/users/nirvdrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirvdrum/subscriptions","organizations_url":"https://api.github.com/users/nirvdrum/orgs","repos_url":"https://api.github.com/users/nirvdrum/repos","events_url":"https://api.github.com/users/nirvdrum/events{/privacy}","received_events_url":"https://api.github.com/users/nirvdrum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-10-09T18:24:58Z","updated_at":"2015-01-15T23:22:51Z","closed_at":"2015-01-15T23:22:51Z","body":"Here's a simple test case reduced from a Rails 3.2 app:\r\n\r\n```\r\n$ cat super_problem.rb \r\nmodule ActiveSupport\r\n  module Dependencies\r\n    extend self\r\n \r\n    module Loadable\r\n      def load_dependency(file)\r\n        yield\r\n      rescue Exception => e\r\n        raise\r\n      end\r\n\r\n      def require(file)\r\n        result = false\r\n        load_dependency(file) { result = super }\r\n        result\r\n      end\r\n    end\r\n  end\r\nend\r\n\r\ninclude ActiveSupport::Dependencies::Loadable\r\nrequire 'yaml'\r\n```\r\n\r\nError:\r\n\r\n```\r\n$ ruby super_problem.rb \r\nArgumentError: wrong number of arguments (0 for 1)\r\n          require at /home/nirvdrum/.rbenv/versions/jruby-9000.dev-SNAPSHOT/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:14\r\n          require at super_problem.rb:14\r\n  load_dependency at super_problem.rb:7\r\n          require at super_problem.rb:14\r\n           (root) at super_problem.rb:22\r\n```\r\n\r\nExpected: No output.  The YAML lib should just load.\r\n\r\nRuby version:\r\n\r\n```\r\n$ ruby -v\r\njruby 9000.dev-SNAPSHOT (2.1.2p142) 2014-10-09 c72837d Java HotSpot(TM) 64-Bit Server VM 25.20-b23 on 1.8.0_20-b26 [linux-amd64]\r\n```\r\n"}}