aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/transform/NormalizeFlags.scala
Commit message (Collapse)AuthorAgeFilesLines
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-221-25/+0
|
* Produce PureInterface flag together with NoInits flagMartin Odersky2015-06-161-5/+0
| | | | | | | | | | | | The previous stale symbol was discovered because NormalizeFlags looks at all declarations of a MoInits trait in the SymTransformer. I.e it does this for all no-init traits, whether loaded from a classfile or currently compiled. This is wasteful because it forces too many definitions. The new scheme drops the scan in favor of producing PureInterface together with NoInits. PureInterface is already read as a flag from Java snd Scala2 classfiles. For source and Tasty it is now generated as members are indexed.
* Remove trailing spaces in Dotty source.Dmitry Petrashko2015-04-091-4/+4
|
* Review of #394Dmitry Petrashko2015-03-181-1/+1
|
* Compute PureInterface flag after pickling.Martin Odersky2015-03-181-0/+30
ElimLocals becomes a slightly less trivial transform: NormalizeFlags. It also computes PureInterface flag, thus relieving Namer and Unpickler from doing the same in two different ways. Besides, the computation in Namer/TreeInfo was flawed because it did not take into account that nested non-static classes are not allowed in an interface (only static classes are, but these would not be members of the interface in the Scala sense).