haxetink / tink_chunk

Chunks of readonly binary data.
The Unlicense
8 stars 5 forks source link

Haxe 4.1.0: __js__ is deprecated, use js.Syntax.code instead #15

Closed cedx closed 4 years ago

cedx commented 4 years ago

When using this package with Haxe 4.1.0 and compiling to Node.js target, I get this deprecation warning:

tink_chunk/0,3,1/src/tink/chunk/nodejs/BufferChunk.hx:49: characters 17-23 : Warning : __js__ is deprecated, use js.Syntax.code instead

This is not blocking, but annoying to activate the no-deprecation-warnings compiler flag.

kevinresol commented 4 years ago

PR would be very appreciated.