go2hx

manual

github

Module stdgo.encoding has compilation errors, please do not use:

 ERROR  stdgo/encoding/binary/Binary.hx:281: lines 281-284

  281 |     function get___7():stdgo.Tuple.Tuple1<haxe.ds.Vector<StdTypes.Float>> return {
  282 |         final obj = this.__7;
  283 |         { _f : haxe.ds.Vector.fromArrayCopy([for (i in obj._f) i]) };
  284 |     };
      |
      | { _f : haxe.ds.Vector<stdgo.GoFloat32> } should be stdgo.Tuple1<haxe.ds.Vector<Float>>

 ERROR  stdgo/encoding/binary/Binary.hx:288: characters 36-38

  288 |             { _f : ([for (i in obj._f) i] : stdgo.GoArray<stdgo.GoFloat32>) };
      |                                    ^^
      | stdgo.Tuple1<haxe.ds.Vector<Float>> has no field _f

 ERROR  stdgo/encoding/binary/Binary.hx:288: characters 32-38

  288 |             { _f : ([for (i in obj._f) i] : stdgo.GoArray<stdgo.GoFloat32>) };
      |                                ^^^^^^
      | You can't iterate on a Dynamic value, please specify Iterator or Iterable

 ERROR  stdgo/encoding/binary/Binary.hx:294: characters 32-34

  294 |         { _f : ([for (i in obj._f) i] : stdgo.GoArray<stdgo.GoFloat32>) };
      |                                ^^
      | Null<stdgo.Tuple1<haxe.ds.Vector<Float>>> has no field _f

 ERROR  stdgo/encoding/binary/Binary.hx:294: characters 28-34

  294 |         { _f : ([for (i in obj._f) i] : stdgo.GoArray<stdgo.GoFloat32>) };
      |                            ^^^^^^
      | You can't iterate on a Dynamic value, please specify Iterator or Iterable

 ERROR  stdgo/encoding/binary/Binary.hx:337: lines 337-340

  337 |     function get_p3():stdgo.Tuple.Tuple1<haxe.ds.Vector<StdTypes.Float>> return {
  338 |         final obj = this.p3;
  339 |         { f : haxe.ds.Vector.fromArrayCopy([for (i in obj.f) i]) };
  340 |     };
      |
      | { f : haxe.ds.Vector<stdgo.GoFloat32> } should be stdgo.Tuple1<haxe.ds.Vector<Float>>

 ERROR  stdgo/encoding/binary/Binary.hx:344: characters 35-36

  344 |             { f : ([for (i in obj.f) i] : stdgo.GoArray<stdgo.GoFloat32>) };
      |                                   ^
      | stdgo.Tuple1<haxe.ds.Vector<Float>> has no field f

 ERROR  stdgo/encoding/binary/Binary.hx:344: characters 31-36

  344 |             { f : ([for (i in obj.f) i] : stdgo.GoArray<stdgo.GoFloat32>) };
      |                               ^^^^^
      | You can't iterate on a Dynamic value, please specify Iterator or Iterable

 ERROR  stdgo/encoding/binary/Binary.hx:350: characters 31-32

  350 |         { f : ([for (i in obj.f) i] : stdgo.GoArray<stdgo.GoFloat32>) };
      |                               ^
      | Null<stdgo.Tuple1<haxe.ds.Vector<Float>>> has no field f

 ERROR  stdgo/encoding/binary/Binary.hx:350: characters 27-32

  350 |         { f : ([for (i in obj.f) i] : stdgo.GoArray<stdgo.GoFloat32>) };
      |                           ^^^^^
      | You can't iterate on a Dynamic value, please specify Iterator or Iterable

 ERROR  stdgo/encoding/json/Json.hx:1084: characters 50-69

 1084 |     function get_pstring():stdgo.Pointer<String> return this.pstring;
      |                                                  ^^^^^^^^^^^^^^^^^^^
      | error: stdgo.GoString should be String
      | have: stdgo.Pointer<stdgo.GoString>
      | want: stdgo.Pointer<String>

 ERROR  stdgo/encoding/json/Json.hx:1086: characters 9-25

 1086 |         this.pstring = v;
      |         ^^^^^^^^^^^^^^^^
      | error: String should be stdgo.GoString
      | have: stdgo.Pointer<String>
      | want: stdgo.Pointer<stdgo.GoString>

 ERROR  stdgo/encoding/json/Json.hx:1243: characters 1-8

 1243 | pstring,
      | ^^^^^^^
      | error: String should be stdgo.GoString
      | have: Null<String>
      | want: Null<stdgo.GoString>

 ERROR  (macro) stdgo/_internal/math/big/Big_T_nat_static_extension.hx:434: characters 16-25

  434 |             _q._divBasic(_u, _v);
      |                ^^^^^^^^^
      | stdgo.Slice<stdgo._internal.math.big.Word> has no field _divBasic