haxetink / tink_streams

Streams from the future. With lasers, of course ... whoaaaaa!!!!
The Unlicense
12 stars 9 forks source link

Not compatible with Haxe 4.2.1 #25

Closed sebthom closed 3 years ago

sebthom commented 3 years ago

Trying to run haxe tests.hxml results in:

./tests/StreamTest.hx:35: characters 22-63 : (i : Int) -> tink.core.Promise<Bool> should be tink.streams.Filter<Int, tink.Error>
./tests/StreamTest.hx:35: characters 22-63 : ... For function argument 'f'

Using it via tink_testrunner results in

C:\hostedtoolcache\windows\haxe\4.2.1\x64\lib\tink_streams/0,3,3/src/tink/streams/IdealStream.hx:30: characters 5-16 : tink.streams.IdealStreamBase<tink.streams.IdealStreamBase.Item> should be tink.streams.IdealStream<tink.streams.IdealStreamBase.Item>
C:\hostedtoolcache\windows\haxe\4.2.1\x64\lib\tink_streams/0,3,3/src/tink/streams/Stream.hx:395: characters 12-44 : tink.streams.IdealizeStream<tink.streams.StreamBase.Item, tink.streams.StreamBase.Quality> should be tink.streams.IdealStream<tink.streams.StreamBase.Item>