Open MingweiSamuel opened 7 months ago
A stop-gap would be to let tee()
take a type parameter (probably allow union()
as well for symmetry)
Seeing very similar behavior when a for_each
after a pivot (source_stream -> map -> for_each
fails to type infer the input to the for_each
even if the map
has an explicit output type).
A few initial attempts to rearrange codegen to fix the type inference proved fruitless
(This example can work by making the final map
|x: Max<_>| ...
)