{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/11737","repository_url":"https://api.github.com/repos/lionheart/openradar-mirror","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/11737/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/11737/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/11737/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/11737","id":148542109,"number":11737,"title":"18701780: Swift: Non-generic subclass of generic class does not pass argument properly?","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:serious%20bug","name":"classification:serious 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":3301,"closed_issues":20,"state":"open","created_at":"2015-08-03T02:08:29Z","updated_at":"2016-04-15T03:01:34Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-04-15T03:01:34Z","updated_at":"2016-04-15T03:01:34Z","closed_at":null,"body":"#### Description\n\nThis is a weird one but I finally found the reproduction steps. Just check out the example below.\r\n\r\nSteps to Reproduce:\r\n// Playground - noun: a place where people can play\r\n\r\nimport Cocoa\r\n\r\nclass GeneralThing<S> {\r\n\tvar stuff: S?\r\n\r\n\tfunc doIt() {\r\n\t\tif let s = stuff {\r\n\t\t\tdoWithStuff(s)\r\n\t\t}\r\n\t}\r\n\r\n\tfunc doWithStuff(stuff: S) -> S {\r\n\t\treturn stuff\r\n\t}\r\n}\r\n\r\nclass SpecificThing<T>: GeneralThing<Int> {\r\n\toverride func doWithStuff(stuff: Int) -> Int {\r\n\t\tprintln(\"\\(stuff + 1)\")\r\n\t\treturn stuff + 1\r\n\t}\r\n}\r\n\r\nlet t = SpecificThing<Float>()\r\nt.stuff = 1\r\nt.doIt()\r\n\r\n\r\nExpected Results:\r\nShould print \"2\" and return 2.\r\n\r\nActual Results:\r\nIn a playground it seems to (usually) crash. Though not always. The `stuff` argument passed to `SpecificThing.doWithStuff` seems to be garbage.\n\n-\nProduct Version: 6.1 (6A1046a)\nCreated: 2014-10-19T04:27:29.872013\nOriginated: 2014-10-19T00:00:00\nOpen Radar Link: http://www.openradar.me/18701780"}}