<div dir="ltr"><div>The sub is called with TestClass2 even when TestClass1 is asked. Also this way there is no error message at all!</div><div><br></div><div>Private Sub Crash(o1 As TestClass1)<br><br> Dim ii As Integer = o1.x<br> Dim jj As Integer = o1.y()<br><br>End<br></div><div><br></div><div>Jussi<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 23, 2018 at 4:06 AM Benoît Minisini <<a href="mailto:g4mba5@gmail.com">g4mba5@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 23/08/2018 à 01:14, Jussi Lahtinen a écrit :<br>
> There seems to be very recently introduced bug in the interpreter.<br>
> See attached project.<br>
> <br>
> <br>
> Jussi<br>
> <br>
<br>
This is not a bug (the class TestClass1 has no symbol "y"), but a <br>
misleading error message.<br>
<br>
-- <br>
Benoît Minisini<br>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div>