fponticelli / thx.core

Super-charged standard library for Haxe.
http://thx-lib.org
MIT License
124 stars 43 forks source link

Fix thx.Set#toString type confusion #278

Closed xunto closed 2 years ago

xunto commented 2 years ago

Python target seems to be confused by missing type for thx.Set#toString. Atleast in haxe 4.2.4 but these changes should still be compatible with older versions.

haxe build_scripts/build_python.hxml
#REDACTED#/.haxelib/thx,core/git/src/thx/Set.hx:183: characters 3-42 : String should be Iterable<thx.Set.T>
#REDACTED#/.haxelib/thx,core/git/src/thx/Set.hx:183: characters 3-42 : ... String has no field iterator

You can see it in this example that I prepared for another thx.core-related (but it's probably haxe to blame there) bug: https://github.com/xunto/haxe-stack-overflow-example