go2hx

manual

github

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

 ERROR  stdgo/_internal/image/gif/Gif_T_decoder_static_extension.hx:64: characters 181-261

  64 |                     _m.palette = ((new stdgo._internal.image.color.Color_Palette.Palette(0, 0) : stdgo._internal.image.color.Color_Palette.Palette).__append__(stdgo.Go.asInterface(...(_d._globalColorTable : Array<stdgo._internal.image.color.Color_Color.Color>))));
     |                                                                                                                                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     | Spread unary operator is only allowed for unpacking the last argument in a call with rest arguments

      ->  /home/runner/haxe/versions/a97dc16/std/haxe/macro/Context.hx:504: characters 10-30

      504 |   return load("typeof", 1)(e);
          |          ^^^^^^^^^^^^^^^^^^^^
          | Called from here

      ->  stdgo/Go.macro.hx:305: lines 305-310

      305 |   final selfType = Context.typeof(switch expr.expr {
        - |     [...]
      310 |   });
          |
          | Called from here

      ->  stdgo/_internal/image/gif/Gif_T_decoder_static_extension.hx:64: characters 160-262

       64 |                     _m.palette = ((new stdgo._internal.image.color.Color_Palette.Palette(0, 0) : stdgo._internal.image.color.Color_Palette.Palette).__append__(stdgo.Go.asInterface(...(_d._globalColorTable : Array<stdgo._internal.image.color.Color_Color.Color>))));
          |                                                                                                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          | Called from here

          | For function argument 'args'

 ERROR  (macro) stdgo/_internal/compress/lzw/Lzw_Writer_static_extension.hx:259: characters 21-64

 259 |                     stdgo._internal.compress.lzw.Lzw__i_3646893._i_3646893++;
     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     | Type not found : stdgo._internal.compress.lzw.Lzw__i_3646893