Sets correct return type for withAttributes on Source/FlowWithContext

This commit is contained in:
Luc Bourlier 2019-02-21 12:05:21 +01:00 committed by Patrik Nordwall
parent 1a8313ba72
commit c58d348b2a
7 changed files with 53 additions and 3 deletions

View file

@ -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)
}