case classUnzip2[P1 <: Platform[P1], P2 <: Platform[P2]]() extends Product with Serializable
I tried to make Unzip2 an object with an apply method that took
all three type parameters, but ran into issues:
[error] /Users/sritchie/code/twitter/summingbird/summingbird-core/src/main/scala/com/twitter/summingbird/PairedPlatform.scala:38: constructor of type com.twitter.summingbird.IdentityKeyedProducer[P,K,V] cannot be uniquely instantiated to expected type com.twitter.summingbird.Producer[com.twitter.summingbird.Platform2[P1,P2],T]
[error] --- because ---
[error] undetermined type
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
I tried to make Unzip2 an object with an apply method that took all three type parameters, but ran into issues:
[error] /Users/sritchie/code/twitter/summingbird/summingbird-core/src/main/scala/com/twitter/summingbird/PairedPlatform.scala:38: constructor of type com.twitter.summingbird.IdentityKeyedProducer[P,K,V] cannot be uniquely instantiated to expected type com.twitter.summingbird.Producer[com.twitter.summingbird.Platform2[P1,P2],T] [error] --- because --- [error] undetermined type