Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Stylistic changes to `Compiler` and `DPConsoleRunner` | Felix Mulder | 2017-03-29 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2058 from dotty-staging/fix-2054 | liu fengyun | 2017-03-18 | 1 | -2/+2 |
|\ | | | | | Fix #2054 | ||||
| * | Fix #2054: @Static methods may access synthetic private methods stuff | Dmitry Petrashko | 2017-03-07 | 1 | -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 varargs | Guillaume Martres | 2017-03-12 | 1 | -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 Stucki | 2017-01-11 | 1 | -0/+1 |
| | |||||
* | New ShortcutImplicits phase | Martin Odersky | 2016-12-17 | 1 | -0/+1 |
| | | | | | Optimizes implicit closures by avoiding closure creation where possible. | ||||
* | Move compiler and compiler tests to compiler dir | Felix Mulder | 2016-11-22 | 1 | -0/+145 |