The problem is the signature of the _convert functions in the classes.
Before they were OBJECT* _convert(CLASS* src, CLASS* class) but now they
are bool _convert(CLASS* src, CLASS* class, VALUE* value). The JIT calls
the function using the first one.

2014-10-31 21:49 GMT+01:00 Benoît Minisini <gam...@users.sourceforge.net>:

> Le 31/10/2014 21:40, Emil Lenngren a écrit :
> > Hi!
> > Actually this will also fail:
> >
> > Dim a As Integer[]
> > a = ["1"]
> >
> > The problem is with the "new" _convert mechanism, introduced in
> > http://sourceforge.net/p/gambas/code/4908/. The JIT code expects the
> older
> > API, which therefore crash...
> > I haven't found out how much refactor needs to be done to support this
> kind
> > of conversion yet. I'll see if I can fix this, but it might take some
> time
> > cause I'm quite busy right now.
> >
> > /Emil
> >
>
> You mean that the "VALUE_convert()" interpreter function had been
> "just-in-timed"?
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to