Skip to content

Commit

Permalink
fix: correct type name and add a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nimatrueway committed Aug 20, 2024
1 parent 52bf1ae commit 3015ba3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/scala/ox/channels/SourceOps.scala
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,8 @@ trait SourceOps[+T] { outer: Source[T] =>
case ChannelClosed.Error(e) =>
c2.errorOrClosed(e)
false
case t: Source[T] @unchecked =>
// TODO: we might go too deep and pull from non immediate children of the parent source
case t: Source[U] @unchecked =>
pool = t :: pool
true
case r: U @unchecked =>
Expand Down

0 comments on commit 3015ba3

Please sign in to comment.