turbine icon indicating copy to clipboard operation
turbine copied to clipboard

filterApply undefined behavior bug

Open stevekrouse opened this issue 6 years ago • 2 comments

filterApply(Behavior.of(undefined).map(() => () => true), stream).log()

Upon an event from stream errors: predicate.at(...) is not a function.

If you replaced undefined with 1, the error goes away.

stevekrouse avatar Dec 12 '18 11:12 stevekrouse

That looks like a bug to me. It's really more a Hareactive than a Turbine bug though. But whatever we can keep it here :smile:

paldepind avatar Jan 28 '19 19:01 paldepind

Sounds good - happy to move it if you'd like. Just let me know :)

stevekrouse avatar Jan 29 '19 10:01 stevekrouse