Sets correct return type for withAttributes on Source/FlowWithContext
This commit is contained in:
parent
1a8313ba72
commit
c58d348b2a
7 changed files with 53 additions and 3 deletions
|
|
@ -80,5 +80,4 @@ trait Graph[+S <: Shape, +M] {
|
|||
private[stream] abstract class GraphDelegate[+S <: Shape, +Mat](delegate: Graph[S, Mat]) extends Graph[S, Mat] {
|
||||
final override def shape: S = delegate.shape
|
||||
final override private[stream] def traversalBuilder: TraversalBuilder = delegate.traversalBuilder
|
||||
final override def withAttributes(attr: Attributes): Graph[S, Mat] = delegate.withAttributes(attr)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue