On Mon, Aug 18, 2008 at 07:22:45PM +0200, Arne Goedeke wrote:
> >decision must be an explicit one in the code.
> I am not sure about that. The discussion is about fun(Int()) vs.
> fun((int)Int()). 

but how does pike know i want it casted at that point?
pike can't tell Int() from Something() unless a special marker to do the
cast is inside Int(). 

pike can't asume that everything that has a cast method for int should
always be casted.

greetings, martin.
  • automatic cas... Arne Goedeke
    • Re: auto... Martin Bähr
      • Re: ... Martin Bähr
        • ... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum
          • ... Arne Goedeke
            • ... Martin Bähr
            • ... Johan Sundstr�m (Achtung Liebe!) @ Pike (-) developers forum

Reply via email to