thx.core icon indicating copy to clipboard operation
thx.core copied to clipboard

readme, no Set.create function

Open uvtc opened this issue 6 years ago • 2 comments

The readme gives an example usage of Set: Set.create(), but that gives me an error, "thx.Set has no field create". I looked instead at http://thx-lib.org/api/thx/Set.html and found Set.createInt(), Set.createString(), etc., which worked for me.

uvtc avatar Jun 27 '19 21:06 uvtc

I also tried the other example from the readme:

var s : Set<Int> = [1,2,3,1];

but it gave this error:

Array<Int> should be thx.Set<Int>

uvtc avatar Jun 27 '19 21:06 uvtc

This is using Haxe 4 rc3 targetting HashLink 1.9.

uvtc avatar Jun 27 '19 21:06 uvtc