aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/transform/LinkScala2ImplClasses.scala
Commit message (Collapse)AuthorAgeFilesLines
* In LinkScala2ImplClass, disregard signatures when looking for constructor.Martin Odersky2016-03-011-4/+8
| | | | | Dotty treats trait and class constructors as returning the class. But scalac uses Unit for the return type of trait init methods.
* 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.
* New phase: LinkScala2ImplClassesMartin Odersky2015-06-011-0/+58
This phase rewrites supercalls to calls to static implementation class methods.