From: "fahmisetiawan (Fahmi Setiawan)" Date: 2012-10-01T20:37:43+09:00 Subject: [ruby-core:47781] [Backport86 - Backport #1151] Aliased methods change super logic when retrieved with Object#method Issue #1151 has been updated by fahmisetiawan (Fahmi Setiawan). http://alkian.blogspot.com/2012/09/cara-menyembuhkan-asam-urat-dan-kolestrol-secara-alami.html http://alkian.blogspot.com/2012/09/keretamini-keretamall-komediputar-ya-keretaminikucom.html http://alkian.blogspot.com/2012/09/harga-spesifikasi-samsung-galaxy-y-duos-terbaru.html http://alkian.blogspot.com/2012/09/download-one-piece-grand-battle-2.html http://alkian.blogspot.com/2012/09/harga-dan-spesifikasi-toyota-agya.html http://alkian.blogspot.com/2012/09/harga-dan-spesifikasi-daihatsu-ayla.html http://alkian.blogspot.com/2012/09/download-harvestmoon-backtonature-bahasa-indonesia.html http://alkian.blogspot.com/2012/09/download-gratis-game-onet-untuk-windows.html http://alkian.blogspot.com/2012/09/cara-download-dengan-jumbofiles.html http://alkian.blogspot.com/2012/09/cara-mengganti-bahasa-indonesia-di-blackbery.html http://alkian.blogspot.com/2012/09/free-download-windows-xp-sp3-black-edition-terbaru-full-version-2012.html http://alkian.blogspot.com/2012/09/free-download-kamus-bahasa-arab.html http://alkian.blogspot.com/2012/09/free-download-corel-draw-x5-portable.html http://alkian.blogspot.com/2012/09/cara-membuat-related-post-artikel-terkait.html http://alkian.blogspot.com/2012/09/daftar-harga-lengkap-hp-mito-terbaru.html http://alkian.blogspot.com/2012/09/download-theme-tron-legacy-for-windows-7.html http://alkian.blogspot.com/2012/09/download-alquran-digital-3d-untuk-pc-komputer.html http://alkian.blogspot.com/2012/09/kumpulan-kata-kata-renungan-terbaik-2012.html http://alkian.blogspot.com/2012/09/kumpulan-website-sosbuk-social-bookmarking.html http://alkian.blogspot.com/2012/09/template-seo-friendly-simple-blue.html http://alkian.blogspot.com/2012/09/harga-hp-nokia-september-2012-terbaru.html http://alkian.blogspot.com/2012/09/foto-ariel-noah-terbaru.html http://alkian.blogspot.com/2012/09/download-serial-number-windows-seven.html http://alkian.blogspot.com/2012/09/biodata-foto-iqbaal-dhiafakhri-ramadhan.html http://alkian.blogspot.com/2012/09/harga-dan-spesifikasi-samsung-galaxy-camera.html http://alkian.blogspot.com/2012/09/biodata-akb48-lengkap-dengan-foto.html http://alkian.blogspot.com/2012/08/arti-dan-makna-kata-noah.html ---------------------------------------- Backport #1151: Aliased methods change super logic when retrieved with Object#method https://bugs.ruby-lang.org/issues/1151#change-29907 Author: headius (Charles Nutter) Status: Assigned Priority: Normal Assignee: wyhaines (Kirk Haines) Category: Target version: =begin This is a peculiar case I don't believe I've reported before. It seems that "method" can change the super behavior of an alias: # Test weird likely-a-bug where method() will repurpose where super goes to class Foo222 def a; 'a'; end def b; 'b'; end end class Bar222 < Foo222 def a; super; end alias b a end puts('a' == Bar222.new.b) # true puts('a' == Bar222.new.method(:b).call) # false Ruby 1.9 behaves as you would expect, calling the "a" super method in both cases. We changed our behavior in JRuby 1.1.2 to match Ruby 1.8.6, but I still believe this is a bug. The JRuby bug report is here: http://jira.codehaus.org/browse/JRUBY-1192 and I reported it to ruby-core here: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/11600 and a patch was proposed here: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/11603. Since it behaves as I expect in 1.9, I assume the 1.8.x behavior is incorrect. =end -- http://bugs.ruby-lang.org/