{"comment":{"url":"https://api.github.com/repos/dotty-staging/dotty/comments/15152817","html_url":"https://github.com/dotty-staging/dotty/commit/a7b4c14990dc8ec789cbb4d735ff9fb6bde1d16b#commitcomment-15152817","id":15152817,"user":{"login":"odersky","id":795990,"avatar_url":"https://avatars.githubusercontent.com/u/795990?v=3","gravatar_id":"","url":"https://api.github.com/users/odersky","html_url":"https://github.com/odersky","followers_url":"https://api.github.com/users/odersky/followers","following_url":"https://api.github.com/users/odersky/following{/other_user}","gists_url":"https://api.github.com/users/odersky/gists{/gist_id}","starred_url":"https://api.github.com/users/odersky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odersky/subscriptions","organizations_url":"https://api.github.com/users/odersky/orgs","repos_url":"https://api.github.com/users/odersky/repos","events_url":"https://api.github.com/users/odersky/events{/privacy}","received_events_url":"https://api.github.com/users/odersky/received_events","type":"User","site_admin":false},"position":9,"line":51,"path":"src/dotty/tools/dotc/core/TypeOps.scala","commit_id":"a7b4c14990dc8ec789cbb4d735ff9fb6bde1d16b","created_at":"2015-12-24T11:10:00Z","updated_at":"2015-12-24T11:10:00Z","body":"I think it is simpler to just delete the following two lines in the body of asSeenFrom:\r\n\r\n     case tp: TypeAlias if theMap == null => // if theMap exists, need to do the variance calculation\r\n        tp.derivedTypeAlias(asSeenFrom(tp.alias, pre, cls, theMap))\r\n\r\nThat should have the same effect, as we then will have a map anyway whenever variance != 1"}}