aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/transform/AugmentScala2Traits.scala
Commit message (Collapse)AuthorAgeFilesLines
* Shorten ..Class.typeRef to ..TypeMartin Odersky2015-11-091-1/+1
| | | | | Since we now have two forms of (almost) everything in Definitions, might as well profit from it.
* AugmentScala2Traits: fix typo in comment.Dmitry Petrashko2015-08-201-1/+1
|
* All non-deferred Scala2 defined methods in traits need a method in implClass.Dmitry Petrashko2015-08-171-1/+1
| | | | As one can call them either indirectly through mixin composition or directly through super[Mixin].foo
* Scala2 supecraccessors are pickled as private, but compiled as public expandedDmitry Petrashko2015-08-171-2/+3
| | | | Need to do the very same transformation in AugmentScala2Traits.
* Drop TraitConstructors phaseMartin Odersky2015-06-271-1/+1
| | | | | | | | It did not do enough to carry its own weight, in particular because DenotationTransformers do have a price - every encountered denotation in the whole program is passed through them. The name change from <init> to $init$ was all it did, that is now rolled into Mixin. Also renamed IMPLCLASS_CONSTRUCTOR to TRAIT_CONSTRUCTOR.
* Annotate lazy vals in Scala2 traits with @volatileMartin Odersky2015-06-081-3/+9
| | | | Scala-2 lazy vals are @volatile according to Dotty conventions.
* Fix to trait setter generationMartin Odersky2015-06-081-7/+4
| | | | | The logic to add trait setters to Scala 2 traits was wrong. This led to AbstractMethodErrors in the formerly commented out part of scala-trait.scala.
* Avoid generating trait setters for constants.Martin Odersky2015-06-011-1/+2
| | | | Scalac does not generate them either.
* New phase: AugmentScala2TraitsMartin Odersky2015-06-011-0/+96