Created
November 1, 2010 21:21
-
-
Save retronym/658901 to your computer and use it in GitHub Desktop.
scalac application error with overloaded alternative
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error: overloaded method value mapreduce with alternatives: | |
(mapper: org.gridgain.grid.lang.GridMapper[org.gridgain.grid.lang.GridOutClosure[R1],org.gridgain.grid.GridRichNode],job: org.gridgain.grid.lang.GridClosure[_ >: () => R1, R1],pdc: org.gridgain.grid.lang.GridOutClosure[() => R1],cnt: Int,rdc: org.gridgain.grid.lang.GridReducer[R1,R2],p: [org.gridgain.grid.lang.GridPredicate[_ >: org.gridgain.grid.GridRichNode]])R2 | |
(mapper: org.gridgain.grid.lang.GridMapper[org.gridgain.grid.lang.GridOutClosure[R1],org.gridgain.grid.GridRichNode],job: org.gridgain.grid.lang.GridClosure[_ >: () => R1, R1],args: java.util.Collection[_ R1],rdc: org.gridgain.grid.lang.GridReducer[R1,R2],p: [org.gridgain.grid.lang.GridPredicate[_ >: org.gridgain.grid.GridRichNode]])R2 | |
(mapper: org.gridgain.grid.lang.GridMapper[org.gridgain.grid.lang.GridOutClosure[R1],org.gridgain.grid.GridRichNode],jobs: java.util.Collection[_ : () => R1, R1]],args: java.util.Collection[_ R1],rdc: org.gridgain.grid.lang.GridReducer[R1,R2],p: [org.gridgain.grid.lang.GridPredicate[_ >: org.gridgain.grid.GridRichNode]])R2 | |
cannot be applied to ((Seq[() => R1]) => (() => R1) => org.gridgain.grid.GridRichNode, java.util.Collection[org.gridgain.grid.lang.GridOutClosure[R1]], (Seq[R1]) => R2, org.gridgain.grid.lang.GridPredicate[_$1(in method mapreduceAsynch)]) | |
impl.mapreduce[R1, R2, Call[R1]](m, convert(s, (f: Call[R1]) => toOutClosure(f)), r, p: _*) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error: overloaded method value mapreduce with alternatives: | |
import java.util.Collection | |
import org.gridgain.grid.lang.{GridMapper, GridOutClosure, GridRichNode, GridClosure, GridReducer, GridPredicate} | |
import org.gridgain.grid.GridRichNode | |
1. (mapper: GridMapper[GridOutClosure[R1],GridRichNode],job: GridClosure[_ >: () => R1, R1],pdc: GridOutClosure[() => R1],cnt: Int,rdc: GridReducer[R1,R2],p: [GridPredicate[_ >: GridRichNode]])R2 | |
2. (mapper: GridMapper[GridOutClosure[R1],GridRichNode],job: GridClosure[_ >: () => R1, R1],args: Collection[_ R1],rdc: GridReducer[R1,R2],p: [GridPredicate[_ >: GridRichNode]])R2 | |
3. (mapper: GridMapper[GridOutClosure[R1],GridRichNode],jobs: Collection[_ : () => R1, R1]],args: Collection[_ R1],rdc: GridReducer[R1,R2],p: [GridPredicate[_ >: GridRichNode]])R2 | |
cannot be applied to ((Seq[() => R1]) => (() => R1) => GridRichNode, Collection[GridOutClosure[R1]], (Seq[R1]) => R2, GridPredicate[_$1(in method mapreduceAsynch)]) | |
impl.mapreduce[R1, R2, Call[R1]](m, convert(s, (f: Call[R1]) => toOutClosure(f)), r, p: _*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment