Workaround for problem with Haxe type inference

An example of what did not work before: 

```haxe
using tink.CoreApi;

class TinkErrorInference {
	static function main() {
		Error.withData( "Array", [1,2,3] );
		Error.withData( "Float", 2.0 );
		// TinkErrorInference.hx:6: characters 27-30 : Float should be Array<Int>
		// TinkErrorInference.hx:6: characters 27-30 : For function argument 'data'
	}
}
```