Skip to content

Instantly share code, notes, and snippets.

@blt
Created April 11, 2011 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blt/913055 to your computer and use it in GitHub Desktop.
Save blt/913055 to your computer and use it in GitHub Desktop.
scala> import akka.actor.Actor.registry
import akka.actor.Actor.registry
scala> registry
res4: akka.actor.ActorRegistry = akka.actor.ActorRegistry@76800e
scala> registry.actorFor("blt")
<console>:9: error: overloaded method value actorFor with alternatives:
(uuid: akka.actor.package.Uuid)Option[akka.actor.ActorRef] <and>
[T <: akka.actor.Actor](implicit manifest: scala.reflect.Manifest[T])Option[akka.actor.ActorRef]
cannot be applied to (java.lang.String)
registry.actorFor("blt")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment