haxetink / tink_json

Macro powered JSON.
The Unlicense
34 stars 9 forks source link

Can't cast hl.types.ArrayObj to hl.types.ArrayBytes_Int #61

Closed sonygod closed 5 years ago

sonygod commented 5 years ago

Can't cast hl.types.ArrayObj to hl.types.ArrayBytes_Int?

sonygod commented 5 years ago

image

back2dos commented 5 years ago

Please provide a minimal example.

sonygod commented 5 years ago
class TestTinkJson 
{

    public function new() 
    {
        var cards:Array<UInt>=[1,2,3];

        var a=tink.Json.stringify(cards);
        var b:Array<UInt>=tink.Json.parse(a);

    }

}
sonygod commented 5 years ago

@back2dos target:HashLink 1.10

sonygod commented 5 years ago

haxe.Json test pass,but tink.Json is error.

sonygod commented 5 years ago

@back2dos any news?