>>>>> "B" == Bulat Ziganshin <bulatz / integ.ru> writes:

B> Hello ts,
B> Thursday, September 26, 2002, 2:51:06 PM, you wrote:

t> def a(Array a, Object o) end
t> def a(Object o, String s) end

B> in this case dispatcher can run any of this functions. in each case we
B> will get right answer :)

pigeon% ruby -e 'def a(Array a, Object o) end; def a(Object o, String s) end'
-e:1: Possible ambiguous call [Array, Object] -- [Object, String] (NameError)
pigeon%



Guy Decoux