{"action":"created","issue":{"url":"https://api.github.com/repos/lampepfl/dotty/issues/1507","repository_url":"https://api.github.com/repos/lampepfl/dotty","labels_url":"https://api.github.com/repos/lampepfl/dotty/issues/1507/labels{/name}","comments_url":"https://api.github.com/repos/lampepfl/dotty/issues/1507/comments","events_url":"https://api.github.com/repos/lampepfl/dotty/issues/1507/events","html_url":"https://github.com/lampepfl/dotty/issues/1507","id":176655573,"number":1507,"title":"Failing .type on class parameter","user":{"login":"OlivierBlanvillain","id":1085297,"avatar_url":"https://avatars.githubusercontent.com/u/1085297?v=3","gravatar_id":"","url":"https://api.github.com/users/OlivierBlanvillain","html_url":"https://github.com/OlivierBlanvillain","followers_url":"https://api.github.com/users/OlivierBlanvillain/followers","following_url":"https://api.github.com/users/OlivierBlanvillain/following{/other_user}","gists_url":"https://api.github.com/users/OlivierBlanvillain/gists{/gist_id}","starred_url":"https://api.github.com/users/OlivierBlanvillain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlivierBlanvillain/subscriptions","organizations_url":"https://api.github.com/users/OlivierBlanvillain/orgs","repos_url":"https://api.github.com/users/OlivierBlanvillain/repos","events_url":"https://api.github.com/users/OlivierBlanvillain/events{/privacy}","received_events_url":"https://api.github.com/users/OlivierBlanvillain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-13T14:28:22Z","updated_at":"2016-09-13T14:43:38Z","closed_at":null,"body":"```scala\r\nclass Example[K](k: K) {\r\n  def example: Option[k.type] = None\r\n}\r\n```\r\n\r\nfails with\r\n\r\n```\r\nerror: non-private method example refers to private value k\r\n in its type signature => Option[K(Example.this.k)]\r\n      def example: Option[k.type] = None\r\n          ^\r\n```\r\n\r\n(Simple workaround: change `k: K` to `val k: K`)"},"comment":{"url":"https://api.github.com/repos/lampepfl/dotty/issues/comments/246704789","html_url":"https://github.com/lampepfl/dotty/issues/1507#issuecomment-246704789","issue_url":"https://api.github.com/repos/lampepfl/dotty/issues/1507","id":246704789,"user":{"login":"julienrf","id":332812,"avatar_url":"https://avatars.githubusercontent.com/u/332812?v=3","gravatar_id":"","url":"https://api.github.com/users/julienrf","html_url":"https://github.com/julienrf","followers_url":"https://api.github.com/users/julienrf/followers","following_url":"https://api.github.com/users/julienrf/following{/other_user}","gists_url":"https://api.github.com/users/julienrf/gists{/gist_id}","starred_url":"https://api.github.com/users/julienrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienrf/subscriptions","organizations_url":"https://api.github.com/users/julienrf/orgs","repos_url":"https://api.github.com/users/julienrf/repos","events_url":"https://api.github.com/users/julienrf/events{/privacy}","received_events_url":"https://api.github.com/users/julienrf/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T14:43:38Z","updated_at":"2016-09-13T14:43:38Z","body":"What result would you expect? (I think that’s scalac behaves the same)"}}
{"actor":{"display_login":"julienrf"}}