------art_9829_30696406.1223034459348
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

Shouldn't the following:

#!/usr/bin/ruby -w

module Mixin
  def function
    puts 'Mixin'
  end
end
include Mixin
def function
  puts 'Main'
end

function
# end of demo.rb

produce something like:

demo.rb:9: warning: method redefined; discarding old function

Behaviour now is to discard the mixed-in method silently.

Cheers,

Han Holl

------art_9829_30696406.1223034459348--