I try to define classes with properties an additional fluent setters.
Unfortunally the compiler does not allow the fluent methods have the
same names as the properties.
Error: overloaded identifier "MyString" isn't a function
Of course I could rename these methods and add a prefix like Set..., but
I want to know why this limitation is. And if it is possible to get rid
of it and allow the overloading of properties with methods.
> Of course I could rename these methods and add a prefix like Set..., but I want to know why this limitation is
Can you create a variable and a function with the same name under the same scope? If you could answer that, you'll know why. As something you might want to think about: properties call is essentially a function call.