lampepfl/dotty — pull request #159 by odersky (2014-08-03 16:08:18+00:00)
Title: Added elimLocals miniphase

This phase drops the Local flag from all private[this] and protected[this] members.
This allows subsequent code motions where code is moved from a class to its
companion object. It invalidates variance checking, which is consequently disabled
when retyping.