Skip to content

Commit

Permalink
Scala 2.12 compat: resolve SAM/FunctionN overload
Browse files Browse the repository at this point in the history
  • Loading branch information
adriaanm committed Mar 29, 2016
1 parent acb21d9 commit 9a6fa17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private[akka] object MessageDispatcher {
// dispatcher debugging helper using println (see below)
// since this is a compile-time constant, scalac will elide code behind if (MessageDispatcher.debug) (RK checked with 2.9.1)
final val debug = false // Deliberately without type ascription to make it a compile-time constant
lazy val actors = new Index[MessageDispatcher, ActorRef](16, _ compareTo _)
lazy val actors = new Index[MessageDispatcher, ActorRef](16, (_ compareTo _): ju.Comparator[ActorRef])
def printActors(): Unit =
if (debug) {
for {
Expand Down

0 comments on commit 9a6fa17

Please sign in to comment.