{"action":"created","issue":{"url":"https://api.github.com/repos/realm/jazzy/issues/459","labels_url":"https://api.github.com/repos/realm/jazzy/issues/459/labels{/name}","comments_url":"https://api.github.com/repos/realm/jazzy/issues/459/comments","events_url":"https://api.github.com/repos/realm/jazzy/issues/459/events","html_url":"https://github.com/realm/jazzy/issues/459","id":127436729,"number":459,"title":"Jazzy puts extension func under wrong class","user":{"login":"SandyChapman","id":3920249,"avatar_url":"https://avatars.githubusercontent.com/u/3920249?v=3","gravatar_id":"","url":"https://api.github.com/users/SandyChapman","html_url":"https://github.com/SandyChapman","followers_url":"https://api.github.com/users/SandyChapman/followers","following_url":"https://api.github.com/users/SandyChapman/following{/other_user}","gists_url":"https://api.github.com/users/SandyChapman/gists{/gist_id}","starred_url":"https://api.github.com/users/SandyChapman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SandyChapman/subscriptions","organizations_url":"https://api.github.com/users/SandyChapman/orgs","repos_url":"https://api.github.com/users/SandyChapman/repos","events_url":"https://api.github.com/users/SandyChapman/events{/privacy}","received_events_url":"https://api.github.com/users/SandyChapman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-19T12:38:42Z","updated_at":"2016-01-19T12:58:17Z","closed_at":null,"body":"Steps to reproduce:\r\n\r\n1. Add the code below into a Swift project.\r\n2. Run jazzy on the project.\r\n3. Note that one extension is missing altogether and the other has both of the extension funcs defined under it.\r\n\r\n```\r\nimport UIKit\r\n\r\nextension UITextView {\r\n\r\n    public dynamic var fontPointSize : CGFloat {\r\n        get {\r\n            return self.font!.pointSize\r\n        }\r\n        set {\r\n            self.font = UIFont(name: self.font!.fontName, size: newValue)\r\n        }\r\n    }\r\n}\r\n\r\nextension UIView {\r\n\r\n    public dynamic var cornerRadius: CGFloat {\r\n        get {\r\n            return self.layer.cornerRadius\r\n        }\r\n        set {\r\n            self.layer.cornerRadius = newValue\r\n            self.layer.masksToBounds = cornerRadius > 0\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nResult:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3920249/12418808/019a4bae-be88-11e5-8233-73cb0988dca3.png)\r\n\r\n$ jazzy -v\r\njazzy version: 0.5.0\r\n"},"comment":{"url":"https://api.github.com/repos/realm/jazzy/issues/comments/172845372","html_url":"https://github.com/realm/jazzy/issues/459#issuecomment-172845372","issue_url":"https://api.github.com/repos/realm/jazzy/issues/459","id":172845372,"user":{"login":"SandyChapman","id":3920249,"avatar_url":"https://avatars.githubusercontent.com/u/3920249?v=3","gravatar_id":"","url":"https://api.github.com/users/SandyChapman","html_url":"https://github.com/SandyChapman","followers_url":"https://api.github.com/users/SandyChapman/followers","following_url":"https://api.github.com/users/SandyChapman/following{/other_user}","gists_url":"https://api.github.com/users/SandyChapman/gists{/gist_id}","starred_url":"https://api.github.com/users/SandyChapman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SandyChapman/subscriptions","organizations_url":"https://api.github.com/users/SandyChapman/orgs","repos_url":"https://api.github.com/users/SandyChapman/repos","events_url":"https://api.github.com/users/SandyChapman/events{/privacy}","received_events_url":"https://api.github.com/users/SandyChapman/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T12:58:17Z","updated_at":"2016-01-19T12:58:17Z","body":"Just tested out the SourceKitten output run on this project. Looks like it's properly parsing the output so it's looking like the problem is in the site generator portion of jazzy. See attached file.\r\n\r\n[source-kitten-output-issue-459.txt](https://github.com/realm/jazzy/files/95898/source-kitten-output-issue-459.txt)"}}