[Gambas-user] JIT compiler debugging

Jussi Lahtinen jussi.lahtinen at gmail.com
Tue Oct 9 01:55:50 CEST 2018


>
> A symbol can only be overriden with a symbol of the same kind in a child
> class.
>

What I did used to work. That is fact. Thus the whole bug report relating
to JIT (where it did not work).



> And if you use a symbol Y as a public variable in a class, then I don't
> see any reason why overriding it by another public variable would be
> useful.
>

To avoid writing eight lines instead of one line. Is that not useful? If
not, why?


I don't see any relation with having a syntax to quickly declare a
> property and the private variable it is associated with.
>

Because they are *functionally* equivalent to how things were before
forbidding overriding public variables.

"Public y As Something" and as override "Public y As SomethingElse".

-->

"PROPERTY y As String TO Something"  and as override "PROPERTY y As String
TO SomethingElse"

Thus no need to write eight lines!


Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181009/b77e1747/attachment.html>


More information about the User mailing list