{"action":"closed","issue":{"url":"https://api.github.com/repos/lampepfl/dotty/issues/982","labels_url":"https://api.github.com/repos/lampepfl/dotty/issues/982/labels{/name}","comments_url":"https://api.github.com/repos/lampepfl/dotty/issues/982/comments","events_url":"https://api.github.com/repos/lampepfl/dotty/issues/982/events","html_url":"https://github.com/lampepfl/dotty/issues/982","id":119194916,"number":982,"title":"Incorrect unpickling of path-dependent types","user":{"login":"VladimirNik","id":2835001,"avatar_url":"https://avatars.githubusercontent.com/u/2835001?v=3","gravatar_id":"","url":"https://api.github.com/users/VladimirNik","html_url":"https://github.com/VladimirNik","followers_url":"https://api.github.com/users/VladimirNik/followers","following_url":"https://api.github.com/users/VladimirNik/following{/other_user}","gists_url":"https://api.github.com/users/VladimirNik/gists{/gist_id}","starred_url":"https://api.github.com/users/VladimirNik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VladimirNik/subscriptions","organizations_url":"https://api.github.com/users/VladimirNik/orgs","repos_url":"https://api.github.com/users/VladimirNik/repos","events_url":"https://api.github.com/users/VladimirNik/events{/privacy}","received_events_url":"https://api.github.com/users/VladimirNik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lampepfl/dotty/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/lampepfl/dotty/labels/Pickling","name":"Pickling","color":"bfe5bf"},{"url":"https://api.github.com/repos/lampepfl/dotty/labels/Tasty","name":"Tasty","color":"0052cc"}],"state":"closed","locked":false,"assignee":{"login":"VladimirNik","id":2835001,"avatar_url":"https://avatars.githubusercontent.com/u/2835001?v=3","gravatar_id":"","url":"https://api.github.com/users/VladimirNik","html_url":"https://github.com/VladimirNik","followers_url":"https://api.github.com/users/VladimirNik/followers","following_url":"https://api.github.com/users/VladimirNik/following{/other_user}","gists_url":"https://api.github.com/users/VladimirNik/gists{/gist_id}","starred_url":"https://api.github.com/users/VladimirNik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VladimirNik/subscriptions","organizations_url":"https://api.github.com/users/VladimirNik/orgs","repos_url":"https://api.github.com/users/VladimirNik/repos","events_url":"https://api.github.com/users/VladimirNik/events{/privacy}","received_events_url":"https://api.github.com/users/VladimirNik/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-11-27T13:18:46Z","updated_at":"2015-12-01T13:03:49Z","closed_at":"2015-12-01T13:03:49Z","body":"In some cases after unpickling path-dependent types become type projections. Example:\r\n```scala\r\ntrait Z {\r\n  type Q\r\n  def test: Q\r\n}\r\nclass X(val x: Z)\r\nclass Y(x: Z) extends X(x) {\r\n  x.test\r\n}\r\n```\r\nx.test before pickling:\r\n```\r\n<<Y.this.x:=> Z>.test:=> Y.this.x.Q>\r\n```\r\nx.test after unpickling:\r\n```\r\n<<Y.this.x:=> Z>.test:=> Z#Q>\r\n```"}}