[Gambas-user] Bug

Jussi Lahtinen jussi.lahtinen at gmail.com
Thu Aug 23 03:22:02 CEST 2018


The sub is called with TestClass2 even when TestClass1 is asked. Also this
way there is no error message at all!

Private Sub Crash(o1 As TestClass1)

 Dim ii As Integer = o1.x
 Dim jj As Integer = o1.y()

End

Jussi

On Thu, Aug 23, 2018 at 4:06 AM Benoît Minisini <g4mba5 at gmail.com> wrote:

> Le 23/08/2018 à 01:14, Jussi Lahtinen a écrit :
> > There seems to be very recently introduced bug in the interpreter.
> > See attached project.
> >
> >
> > Jussi
> >
>
> This is not a bug (the class TestClass1 has no symbol "y"), but a
> misleading error message.
>
> --
> Benoît Minisini
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180823/059385e9/attachment.html>


More information about the User mailing list