{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/buck/issues/252","labels_url":"https://api.github.com/repos/facebook/buck/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/facebook/buck/issues/252/comments","events_url":"https://api.github.com/repos/facebook/buck/issues/252/events","html_url":"https://github.com/facebook/buck/issues/252","id":57492663,"number":252,"title":"dependencies should accept targets with omitted colons","user":{"login":"perezd","id":20598,"avatar_url":"https://avatars.githubusercontent.com/u/20598?v=3","gravatar_id":"","url":"https://api.github.com/users/perezd","html_url":"https://github.com/perezd","followers_url":"https://api.github.com/users/perezd/followers","following_url":"https://api.github.com/users/perezd/following{/other_user}","gists_url":"https://api.github.com/users/perezd/gists{/gist_id}","starred_url":"https://api.github.com/users/perezd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perezd/subscriptions","organizations_url":"https://api.github.com/users/perezd/orgs","repos_url":"https://api.github.com/users/perezd/repos","events_url":"https://api.github.com/users/perezd/events{/privacy}","received_events_url":"https://api.github.com/users/perezd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-12T17:33:55Z","updated_at":"2015-04-19T02:03:47Z","closed_at":"2015-04-19T02:03:47Z","body":"Assuming I had a BUCK file as so:\r\n\r\n```\r\njava_library(\r\n  name = \"foo\",\r\n  deps = [\r\n    \"//some/dep\"\r\n  ],\r\n)\r\n```\r\n\r\nI would expect Buck to understand I am referencing a BUCK file in the some/dep folder with a name of \"dep\". Instead, I get:\r\n\r\n```\r\nBUILD FAILED: //foo parameter 'deps': cannot coerce '//some/dep' to class com.facebo\r\nok.buck.model.BuildTarget\r\n```\r\nThe workaround is to define a dep as `//some/dep:dep` but that seems needlessly noisy."},"comment":{"url":"https://api.github.com/repos/facebook/buck/issues/comments/94222907","html_url":"https://github.com/facebook/buck/issues/252#issuecomment-94222907","issue_url":"https://api.github.com/repos/facebook/buck/issues/252","id":94222907,"user":{"login":"sdwilsh","id":656602,"avatar_url":"https://avatars.githubusercontent.com/u/656602?v=3","gravatar_id":"","url":"https://api.github.com/users/sdwilsh","html_url":"https://github.com/sdwilsh","followers_url":"https://api.github.com/users/sdwilsh/followers","following_url":"https://api.github.com/users/sdwilsh/following{/other_user}","gists_url":"https://api.github.com/users/sdwilsh/gists{/gist_id}","starred_url":"https://api.github.com/users/sdwilsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdwilsh/subscriptions","organizations_url":"https://api.github.com/users/sdwilsh/orgs","repos_url":"https://api.github.com/users/sdwilsh/repos","events_url":"https://api.github.com/users/sdwilsh/events{/privacy}","received_events_url":"https://api.github.com/users/sdwilsh/received_events","type":"User","site_admin":false},"created_at":"2015-04-19T02:03:47Z","updated_at":"2015-04-19T02:03:47Z","body":"Agreeing with @Coneko."}}