{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/12305","repository_url":"https://api.github.com/repos/lionheart/openradar-mirror","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/12305/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/12305/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/12305/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/12305","id":148754958,"number":12305,"title":"17742999: Erroneous \"extra argument\" compiler error","user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/classification:other%20bug","name":"classification:other bug","color":"e11d21"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/reproducible:always","name":"reproducible:always","color":"5319e7"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/status:open","name":"status:open","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/1","html_url":"https://github.com/lionheart/openradar-mirror/milestones/Developer%20Tools","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/1/labels","id":1237415,"number":1,"title":"Developer Tools","description":null,"creator":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":3455,"closed_issues":20,"state":"open","created_at":"2015-08-03T02:08:29Z","updated_at":"2016-04-15T20:01:38Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-04-15T20:01:38Z","updated_at":"2016-04-15T20:01:38Z","closed_at":null,"body":"#### Description\n\nSummary:\nCompiler reports erroneous error complaining of extra argument in function call. In this case, i\nSteps to Reproduce:\nCreate a new Swift class, with the following code:\n\nimport UIKit\n\nclass BazClient: NSObject {\n    let session:NSURLSession?\n    let workerQ = NSOperationQueue()\n    \n    init() {\n        let config = NSURLSessionConfiguration.backgroundSessionConfiguration(\"com.foo.bar.baz”)\n        let session = NSURLSession(configuration: config, delegate: self, delegateQueue: workerQ)\n        super.init()\n    }\n}\n\nExpected Results:\nCode either compiles with no errors, or produces an error for the usage of “self” prior to super.init() call.\n\nActual Results:\nCompiler reports error: “Extra argument ‘delegate’ in call” on line that begins “let session =“\n\n-\nProduct Version: \nCreated: 2014-07-21T02:25:41.990748\nOriginated: 2014-07-20T22:25:00\nOpen Radar Link: http://www.openradar.me/17742999"}}