{"action":"created","issue":{"url":"https://api.github.com/repos/Horusiath/Akkling/issues/26","labels_url":"https://api.github.com/repos/Horusiath/Akkling/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/Horusiath/Akkling/issues/26/comments","events_url":"https://api.github.com/repos/Horusiath/Akkling/issues/26/events","html_url":"https://github.com/Horusiath/Akkling/issues/26","id":123931479,"number":26,"title":"Value restriction for TypedActorSelection.select","user":{"login":"fjoppe","id":10013556,"avatar_url":"https://avatars.githubusercontent.com/u/10013556?v=3","gravatar_id":"","url":"https://api.github.com/users/fjoppe","html_url":"https://github.com/fjoppe","followers_url":"https://api.github.com/users/fjoppe/followers","following_url":"https://api.github.com/users/fjoppe/following{/other_user}","gists_url":"https://api.github.com/users/fjoppe/gists{/gist_id}","starred_url":"https://api.github.com/users/fjoppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjoppe/subscriptions","organizations_url":"https://api.github.com/users/fjoppe/orgs","repos_url":"https://api.github.com/users/fjoppe/repos","events_url":"https://api.github.com/users/fjoppe/events{/privacy}","received_events_url":"https://api.github.com/users/fjoppe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Horusiath/Akkling/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-26T14:29:03Z","updated_at":"2015-12-28T21:23:40Z","closed_at":null,"body":"Hi,\r\n\r\nI have a remote actor system, and via ActorSelection I want to connect to a specific actor, which is the main entry. I am using the fsi as client. I've followed the [Remote example](https://github.com/Horusiath/Akkling/blob/master/examples/remote.fsx). I am doing it a bit different. I do not deploy a locally made actor to the remote system. I query the remote system using a hard path.\r\n\r\nNow this does not work:\r\n```fsharp\r\nlet registerPlayer = select actorSystem \"akka.tcp://ThisIsMyServer@localhost:8080/user/RegisterPlayer\"\r\n```\r\n\r\nThis results in the following error (in the fsi):\r\n>CallRemoteActor.fsx(38,5): error FS0030: Value restriction. The value 'registerPlayer' has been inferred to have generic type\r\n>    val registerPlayer : TypedActorSelection<'_a>    \r\n>Either define 'registerPlayer' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation.\r\n\r\nI have studied your code a bit and this does work:\r\n```fsharp\r\nlet registerPlayer = TypedActorSelection<RegisterPlayerMessage>(actorSystem.ActorSelection \"akka.tcp://ThisIsMyServer@localhost:8080/user/RegisterPlayer\")\r\n```\r\n\r\nBut that's probably not what you wanted.."},"comment":{"url":"https://api.github.com/repos/Horusiath/Akkling/issues/comments/167660884","html_url":"https://github.com/Horusiath/Akkling/issues/26#issuecomment-167660884","issue_url":"https://api.github.com/repos/Horusiath/Akkling/issues/26","id":167660884,"user":{"login":"Horusiath","id":679705,"avatar_url":"https://avatars.githubusercontent.com/u/679705?v=3","gravatar_id":"","url":"https://api.github.com/users/Horusiath","html_url":"https://github.com/Horusiath","followers_url":"https://api.github.com/users/Horusiath/followers","following_url":"https://api.github.com/users/Horusiath/following{/other_user}","gists_url":"https://api.github.com/users/Horusiath/gists{/gist_id}","starred_url":"https://api.github.com/users/Horusiath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Horusiath/subscriptions","organizations_url":"https://api.github.com/users/Horusiath/orgs","repos_url":"https://api.github.com/users/Horusiath/repos","events_url":"https://api.github.com/users/Horusiath/events{/privacy}","received_events_url":"https://api.github.com/users/Horusiath/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T21:23:40Z","updated_at":"2015-12-28T21:23:40Z","body":"Message from your quote is only a warning, not a FSI error. Your code should work anyway. If I'm right, this can be solved by adding generic signature eplicitly to `select` function definition."}}