On Sun, Oct 6, 2013 at 8:09 AM, Sven Barth wrote:
> No. Whenever you call a method (either inside a class using (implicit) Self
> or outside using a variable) the compiler checks whether a helper for that
> type is in scope and uses that if it is. It has nothing to do with object
> instantiation (
On 06.10.2013 01:46, Daniel Gaspary wrote:
On Sat, Oct 5, 2013 at 8:27 PM, Sven Barth wrote:
At location A the helper is not yet declared, thus GetAnotherString uses the
GetString function of its own class. On location B the helper is already
declared and thus the implementation of GetAnotherSt
On Sat, Oct 5, 2013 at 8:27 PM, Sven Barth wrote:
> At location A the helper is not yet declared, thus GetAnotherString uses the
> GetString function of its own class. On location B the helper is already
> declared and thus the implementation of GetAnotherString will pick up the
> helper's GetStri
Am 05.10.2013 22:57 schrieb "Daniel Gaspary" :
>
> I have created an example to show the different results I got due to
> where the implementation of a object is .
>
> The code is at http://pastebin.com/wY2qmZFm
>
> If you cut and paste the code block at "Location A" to the "Location
> B" the resul
I have created an example to show the different results I got due to
where the implementation of a object is .
The code is at http://pastebin.com/wY2qmZFm
If you cut and paste the code block at "Location A" to the "Location
B" the result of the program changes.
At Location A the method of the he