From: ts Date: 2002-09-26T19:59:20+09:00 Subject: Re: adding overload to ruby >>>>> "B" == Bulat Ziganshin 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