Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Factory/src/main/scala/com/thoughtworks/feature/Factory.scala
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,12 @@ object Factory extends LowPriorityFactory {
type Factory2[-Parameter0, -Parameter1, Output] = Lt[Output, (Parameter0, Parameter1) => Output]
type Factory3[-Parameter0, -Parameter1, -Parameter2, Output] =
Lt[Output, (Parameter0, Parameter1, Parameter2) => Output]
type Factory4[-Parameter0, -Parameter1, -Parameter2, -Parameter3, Output] =
Lt[Output, (Parameter0, Parameter1, Parameter2, Parameter3) => Output]
type Factory5[-Parameter0, -Parameter1, -Parameter2, -Parameter3, -Parameter4, Output] =
Lt[Output, (Parameter0, Parameter1, Parameter2, Parameter3, Parameter4) => Output]
type Factory6[-Parameter0, -Parameter1, -Parameter2, -Parameter3, -Parameter4, -Parameter5, Output] =
Lt[Output, (Parameter0, Parameter1, Parameter2, Parameter3, Parameter4, Parameter5) => Output]

def make[Output, Constructor0](constructor: Constructor0): Factory.Aux[Output, Constructor0] = new Factory[Output] {
type Constructor = Constructor0
Expand Down