[Pas2js] Testing generics

Ben Grasset operator97 at gmail.com
Wed Oct 23 21:12:55 CEST 2019


On Wed, Oct 23, 2019 at 4:32 AM Michael Van Canneyt <michael at freepascal.org>
wrote:

> I had a quick look, it's just what I had in mind. I can insert it almost
> verbatim, and redefine the existing classes as a specialization with
> JSValue
> as a type.
>
> Thank you, this will save me a lot of typing :-)
>

No problem!

I did notice one small typo I made, after I had already sent the file.
Right now, line 79 (in the definition of TGJSMap) starts like this:

procedure GorEach

but obviously it should start like this:

procedure ForEach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20191023/53f46abb/attachment.html>


More information about the Pas2js mailing list