aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/Compiler.scala
Commit message (Collapse)AuthorAgeFilesLines
* Stylistic changes to `Compiler` and `DPConsoleRunner`Felix Mulder2017-03-291-1/+1
|
* Merge pull request #2058 from dotty-staging/fix-2054liu fengyun2017-03-181-2/+2
|\ | | | | Fix #2054
| * Fix #2054: @Static methods may access synthetic private methods stuffDmitry Petrashko2017-03-071-2/+2
| | | | | | | | | | | | Due to way how we desugar lambdas, we can decide to make a lambda static Static methods could refer to those lambdas and we need to make them public
* | Fix overriding a Java method with varargsGuillaume Martres2017-03-121-2/+2
|/ | | | | | | | | | | | | | | | | | If A method like: override def foo(x: Object*) overrides a Java method, it needs to be rewritten as: def foo(x: Seq[Object]) override def foo(x: Array[Object]): Object = foo(Predef.wrapRefArray(x)) This should be handled by ElimRepeated but there were two bugs: - `addVarArgsBridge` was called at phase `thisTransformer.next`, this is too late to create the bridge since `T*` has already been rewritten as `Seq[T]` - The original method symbol needs to have the `override` flag dropped, since it doesn't override anything. Furthermore, RefChecks had to be moved after ElimRepeated, otherwise the testcase would fail the overriding checks.
* Add PrimitiveForwarders and fix forwarding on value classes.Nicolas Stucki2017-01-111-0/+1
|
* New ShortcutImplicits phaseMartin Odersky2016-12-171-0/+1
| | | | | Optimizes implicit closures by avoiding closure creation where possible.
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-221-0/+145