[Pas2js] property with class external occurr AV
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Oct 30 22:41:26 CET 2018
On Tue, 30 Oct 2018 14:04:06 -0500 (CDT)
warleyalex via Pas2js <pas2js at lists.freepascal.org> wrote:
> I would like to perform a touch slider, this slider it's an external
> class, but it occurrs a AV when declaring a property Swiper.
>
> code to reproduce:
> ------------------------------------------------
> type
> JSwiper = class external name 'Swiper'
> constructor New(targetRef: String); overload;
> function slideNext: JSwiper;
> end;
>
> type
> TCustomApplication = class
> private
> FSwiper: JSwiper;
> published
> property Swiper: JSwiper read FSwiper write FSwiper;
> end;
> ------------------------------------------
> Project: Executing command before: Exit code 1, Errors: 2
> Fatal: bug: uncaught EAccessViolation: Access violation
> Fatal: EAccessViolation: Access violation
Please create a bug report.
Mattias
More information about the Pas2js
mailing list