Re: [Vala] About method overloading, constructor overloading and extension methods



That is a good question actually. I mean yannick's answer works in this
overly-simplified case, but overall, is there a technical reason it doesn't
work this way?

Steven N. Oliver


On Thu, May 15, 2014 at 2:06 PM, geovanisouza92 gmail com <
geovanisouza92 gmail com> wrote:

Sorry for my mistake. I used the same variable "result". Declaring:

    var result = add(2, 3);
    var result2 = add(1.2, 3.4);
​
Worked fine. Thank you Yannick.

But the discussion can continue.
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]