[Pas2js] Pas2js 0.9.20

Ryan Joseph ryan at thealchemistguild.com
Sat May 12 09:49:08 CEST 2018



> On May 12, 2018, at 2:43 PM, Michael Van Canneyt <michael at freepascal.org> wrote:
> 
> Hence my proposal to add overloads
> _set (arr : Array of BaseType);
> _set (arr : Array of BaseType; aOffset :NativeInt);
> to each descendant.

That would help and be nice but lots of working making overloads though and it’s possible we’re enforcing type safety where there shouldn’t be. You may very well be able to pass an array of ints to a Float32Array for example.
Regards,
	Ryan Joseph



More information about the Pas2js mailing list