Aaa... OK, sorry for the trouble.
I assumed it is because of extern,
because with my actual project I had similar error messages from modules
where extern is used.
Also the error message is pretty misleading as it points to the line I
copy&pasted.

I will investigate more...

Jussi




On 17 June 2012 03:23, Emil Lenngren <emil.lenng...@gmail.com> wrote:

> That has nothing to do with extern ;)
> The code you are trying to execute is "Try oo = [TestClass1]".
>
> As that code is always illegal, the jit throws an error directly at compile
> time, before running the code. That should help people debugging code
> because if there is an error in an uncommon code path, that error might
> normally be hard to discover. If the jit compiler sees that error directly
> upon compile time, you can easier correct the bug.
>
> /Emil
>
> 2012/6/17 Jussi Lahtinen <jussi.lahti...@gmail.com>
>
> > >From this (integer to integer):
> > Dim iResult As Integer = mTest.DoTests()
> >
> > Type mismatch: wanted Standard type, got Class instead in FMain:9.
> >
> > Jussi
> >
> >
> >
> >
> > On 17 June 2012 02:47, Emil Lenngren <emil.lenng...@gmail.com> wrote:
> >
> > > Hi. What error do you get? The "extern" part seems to work fine for
> me...
> > >
> > > /Emil
> > >
> > > 2012/6/16 Jussi Lahtinen <jussi.lahti...@gmail.com>
> > >
> > > > See attachment.
> > > > If you comment out "Fast" from mTest, all works perfectly.
> > > >
> > > > Gambas 3 rev 4837 @ Xubuntu 12.04 64bit
> > > >
> > > > Jussi
> > > >
> > > >
> > > >
> > >
> >
> ------------------------------------------------------------------------------
> > > > Live Security Virtual Conference
> > > > Exclusive live event will cover all the ways today's security and
> > > > threat landscape has changed and how IT managers can respond.
> > Discussions
> > > > will include endpoint security, mobile security and the latest in
> > malware
> > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > > > _______________________________________________
> > > > Gambas-user mailing list
> > > > Gambas-user@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > > >
> > > >
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > Live Security Virtual Conference
> > > Exclusive live event will cover all the ways today's security and
> > > threat landscape has changed and how IT managers can respond.
> Discussions
> > > will include endpoint security, mobile security and the latest in
> malware
> > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > > _______________________________________________
> > > Gambas-user mailing list
> > > Gambas-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> >
> >
> ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to