Skip to content

Commit

Permalink
Merge pull request #3595 from mmisztal1980/bug/3563
Browse files Browse the repository at this point in the history
#3563 AtopMat's return type changed TMat -> TMat3
  • Loading branch information
Horusiath authored Sep 15, 2018
2 parents e67152d + f23807f commit 0553c54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ namespace Akka.Streams.Dsl
public Akka.Streams.IGraph<Akka.Streams.BidiShape<TIn1, TOut1, TIn2, TOut2>, TMat> AddAttributes(Akka.Streams.Attributes attributes) { }
public Akka.Streams.IGraph<Akka.Streams.BidiShape<TIn1, TOut1, TIn2, TOut2>, TMat> Async() { }
public Akka.Streams.Dsl.BidiFlow<TIn1, TOut12, TIn21, TOut2, TMat> Atop<TOut12, TIn21, TMat2>(Akka.Streams.Dsl.BidiFlow<TOut1, TOut12, TIn21, TIn2, TMat2> bidi) { }
public Akka.Streams.Dsl.BidiFlow<TIn1, TOut12, TIn21, TOut2, TMat> AtopMat<TOut12, TIn21, TMat2, TMat3>(Akka.Streams.Dsl.BidiFlow<TOut1, TOut12, TIn21, TIn2, TMat2> bidi, System.Func<TMat, TMat2, TMat3> combine) { }
public Akka.Streams.Dsl.BidiFlow<TIn1, TOut12, TIn21, TOut2, TMat3> AtopMat<TOut12, TIn21, TMat2, TMat3>(Akka.Streams.Dsl.BidiFlow<TOut1, TOut12, TIn21, TIn2, TMat2> bidi, System.Func<TMat, TMat2, TMat3> combine) { }
public Akka.Streams.Dsl.Flow<TIn1, TOut2, TMat> Join<TMat2>(Akka.Streams.Dsl.Flow<TOut1, TIn2, TMat2> flow) { }
public Akka.Streams.Dsl.Flow<TIn1, TOut2, TMat3> JoinMat<TMat2, TMat3>(Akka.Streams.Dsl.Flow<TOut1, TIn2, TMat2> flow, System.Func<TMat, TMat2, TMat3> combine) { }
public Akka.Streams.IGraph<Akka.Streams.BidiShape<TIn1, TOut1, TIn2, TOut2>, TMat> Named(string name) { }
Expand Down
4 changes: 2 additions & 2 deletions src/core/Akka.Streams/Dsl/BidiFlow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,13 @@ public BidiFlow<TIn1, TOut12, TIn21, TOut2, TMat> Atop<TOut12, TIn21, TMat2>(Bid
/// <param name="bidi">TBD</param>
/// <param name="combine">TBD</param>
/// <returns>TBD</returns>
public BidiFlow<TIn1, TOut12, TIn21, TOut2, TMat> AtopMat<TOut12, TIn21, TMat2, TMat3>(BidiFlow<TOut1, TOut12, TIn21, TIn2, TMat2> bidi, Func<TMat, TMat2, TMat3> combine)
public BidiFlow<TIn1, TOut12, TIn21, TOut2, TMat3> AtopMat<TOut12, TIn21, TMat2, TMat3>(BidiFlow<TOut1, TOut12, TIn21, TIn2, TMat2> bidi, Func<TMat, TMat2, TMat3> combine)
{
var copy = bidi.Module.CarbonCopy();
var ins = copy.Shape.Inlets.ToArray();
var outs = copy.Shape.Outlets.ToArray();

return new BidiFlow<TIn1, TOut12, TIn21, TOut2, TMat>(Module
return new BidiFlow<TIn1, TOut12, TIn21, TOut2, TMat3>(Module
.Compose(copy, combine)
.Wire(Shape.Outlet1, ins[0])
.Wire(outs[1], Shape.Inlet2)
Expand Down

0 comments on commit 0553c54

Please sign in to comment.