Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge pull request #799 from dotty-staging/change-inference | odersky | 2015-10-07 | 1 | -2/+1 | |
|\ | | | | | Change inference | |||||
| * | Add test case | Martin Odersky | 2015-09-18 | 1 | -2/+1 | |
| | | ||||||
* | | Rename collectAs -> to | Martin Odersky | 2015-10-06 | 1 | -14/+14 | |
| | | ||||||
* | | Tweaks to conform with API set out in #818. | Martin Odersky | 2015-10-06 | 1 | -14/+14 | |
| | | ||||||
* | | Bugfixes and move CollectionStrawMan1 into the correct directory. | Martin Odersky | 2015-10-06 | 1 | -10/+10 | |
| | | ||||||
* | | Add ArrayBuffer as another Seq class. Make iterators inspectable. | Martin Odersky | 2015-10-06 | 2 | -0/+19 | |
| | | ||||||
* | | Add collection strawman and its tests | Martin Odersky | 2015-10-06 | 2 | -0/+219 | |
|/ | | | | This compiles only after the changes in this branch. | |||||
* | Fix #791 erasedLub of two AnyVals is Object. | Dmitry Petrashko | 2015-09-17 | 1 | -0/+11 | |
| | ||||||
* | New phase: ExplicitSelf | Martin Odersky | 2015-09-17 | 2 | -0/+21 | |
| | | | | | Makes self types explicit, if this is needed to identify a member in a select. Fixes #789. | |||||
* | Enable more tests that pass | Dmitry Petrashko | 2015-09-14 | 75 | -0/+1581 | |
| | ||||||
* | final-fields.scala: tes objects with constant final vals. | Dmitry Petrashko | 2015-09-14 | 1 | -1/+4 | |
| | ||||||
* | Add another test | Martin Odersky | 2015-09-14 | 2 | -1/+6 | |
| | | | | | Check that calling a side effecting function returning a constant type does not get suppressed. | |||||
* | Augment test file | Martin Odersky | 2015-09-14 | 1 | -0/+18 | |
| | | | | to test for propagation of constant types. | |||||
* | Test behaviour of final vals. | Dmitry Petrashko | 2015-09-14 | 2 | -0/+24 | |
| | ||||||
* | Add test | Martin Odersky | 2015-09-12 | 2 | -0/+74 | |
| | | | | Should have been added on final vals commit. | |||||
* | Merge pull request #767 from dotty-staging/fix-#756-super-accessors | Dmitry Petrashko | 2015-08-28 | 1 | -0/+8 | |
|\ | | | | | Fix #756 super accessors | |||||
| * | Add test case | Martin Odersky | 2015-08-21 | 1 | -0/+8 | |
| | | ||||||
* | | Refine refOfDef top handle repeated parameters | Martin Odersky | 2015-08-22 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | | | refOfDef is used in desugaring case classes, specifically the definition of an apply method. Here it is necessary to pass a vararg argument (x: _*) if the case class parameter is repeated. This functionality is now added to `refOfDef`. I verified that the other uses of `refOfDef` are compatible with this change. Fixes #768. | |||||
* | | Merge pull request #764 from dotty-staging/mixin/forwarders | odersky | 2015-08-22 | 1 | -0/+14 | |
|\ \ | | | | | | | Mixin: class defined abstract members take precedence over interface defined. | |||||
| * | | Test that forwarders are correctly created. | Dmitry Petrashko | 2015-08-21 | 1 | -0/+14 | |
| |/ | ||||||
* / | Test that fields are correctly set before super constructor is called. | Dmitry Petrashko | 2015-08-21 | 1 | -0/+12 | |
|/ | ||||||
* | Merge pull request #758 from ↵ | Dmitry Petrashko | 2015-08-20 | 1 | -1/+11 | |
|\ | | | | | | | | | dotty-staging/fix-liftedTry-capturedVars-interaction Fix lift try and captured vars interaction | |||||
| * | Add a local val to lifted try to make sure owners are still legal. | Martin Odersky | 2015-08-15 | 1 | -1/+1 | |
| | | | | | | | | | | Checks the hypothesis that lifting a try may safely move expressions into a ValDef owned by a new temp var. | |||||
| * | Fix CaputuredVars/LiftTry interaction. | Martin Odersky | 2015-08-15 | 1 | -1/+11 | |
| | | | | | | | | | | | | CapturedVars introduced an assignment that could cause a try to be executed with a non-empty stack, even after LiftTry had already run. We now avoid this by introducing a temporary variable. | |||||
* | | Merge pull request #760 from dotty-staging/mixin-fixes | odersky | 2015-08-20 | 1 | -0/+23 | |
|\ \ | | | | | | | Fixes to scala2 Mixin | |||||
| * | | test #760 | Dmitry Petrashko | 2015-08-17 | 1 | -0/+23 | |
| |/ | ||||||
* / | Test that partial functions are handled correctly. | Dmitry Petrashko | 2015-08-17 | 1 | -0/+10 | |
|/ | ||||||
* | GetClass: get classSymbol reliably | Dmitry Petrashko | 2015-08-13 | 1 | -1/+2 | |
| | | | | TermRefs do not have a classSymbol. | |||||
* | Add LiftTry phase | Martin Odersky | 2015-08-05 | 2 | -0/+28 | |
| | | | | | Phase lifts tries that would be illegal because they execute on non-empty expression stacks. | |||||
* | Implement non-local returns | Martin Odersky | 2015-08-04 | 1 | -0/+32 | |
| | | | | Non-local returns are now implemented. | |||||
* | Merge pull request #735 from dotty-staging/ycheck-methods | odersky | 2015-08-04 | 98 | -1/+4447 | |
|\ | | | | | Ycheck that methods defined in ClassInfo exist in tree. | |||||
| * | Fix #744 | Dmitry Petrashko | 2015-07-28 | 2 | -0/+9 | |
| | | | | | | | | Mixi was not calling transformFollowing on generated setters. | |||||
| * | Remove warning from .check file that is not emitted by Dotty | Dmitry Petrashko | 2015-07-14 | 1 | -3/+0 | |
| | | ||||||
| * | Enable 61 tests that succeed. | Dmitry Petrashko | 2015-07-13 | 95 | -0/+4440 | |
| | | ||||||
| * | Fix ClassCastException in patmat when using Product1. | Dmitry Petrashko | 2015-07-13 | 1 | -1/+1 | |
| | | ||||||
* | | Implement getClass method | Alexander Myltsev | 2015-07-25 | 2 | -0/+67 | |
| | | ||||||
* | | Prettify console output of classof check test | Alexander Myltsev | 2015-07-23 | 2 | -4/+7 | |
| | | ||||||
* | | Merge pull request #727 from dotty-staging/genbcode-annotations | Dmitry Petrashko | 2015-07-15 | 1 | -0/+12 | |
|\ \ | | | | | | | Implement emission of annotations in GenBCode. | |||||
| * | | Implement emotion of annotations in GenBCode. | Dmitry Petrashko | 2015-07-14 | 1 | -0/+12 | |
| |/ | | | | | | | Fixes #688 | |||||
* / | SyntheticMethods: override productPrefix for case classes | Guillaume Martres | 2015-07-13 | 2 | -0/+21 | |
|/ | | | | | The productPrefix of a case class should be the name of the class itself to match Scala 2. | |||||
* | Tests that objects nested in value class methods work | Guillaume Martres | 2015-07-04 | 2 | -0/+17 | |
| | | | | This confirms that SI-6359 does not apply to Dotty. | |||||
* | Merge pull request #695 from dotty-staging/fix/source-positions | Dmitry Petrashko | 2015-07-02 | 1 | -3/+3 | |
|\ | | | | | Avoid crasher when first token of a program is in error | |||||
| * | Updated check file. | Martin Odersky | 2015-06-25 | 1 | -3/+3 | |
| | | | | | | | | Seems partest adds code to the sources so that line numbers are not the same. | |||||
| * | Update check file. | Martin Odersky | 2015-06-25 | 1 | -3/+3 | |
| | | | | | | | | Line numbers were wrong in previous file. | |||||
* | | Drop Module flag from lifted symbols. | Martin Odersky | 2015-06-26 | 2 | -0/+29 | |
| | | | | | | | | | | | | | | Reason: A lifted module is no longer a module (i.e. singleton object) in the scope to which it is lifted. Fixes #689. | |||||
* | | Restored full test | Martin Odersky | 2015-06-26 | 1 | -5/+5 | |
| | | | | | | | | Uncommented parts that were left accidentally commented out when debugging. | |||||
* | | Remove check file. | Martin Odersky | 2015-06-26 | 1 | -1/+0 | |
| | | | | | | | | | | The file consisted of just a deprecation warning. Not sure what was deprecated; neither dotty nor scalac find anything wrong with it. | |||||
* | | Fix erasure of Thistypes. | Martin Odersky | 2015-06-26 | 2 | -0/+59 | |
|/ | | | | | | | | | | Thistypes erased to the underlying class. This is wrong. When seen as part of some other type, a ThisType has to erase to the erasure of the underlying type (i.e. the erasure if the selftype of the class). unittest-collections.scala failed with a MethodNotFound error because the erasure was computed incorrectly. On the other hand, a tree with a ThisType type, should keep the type, analogous to a tree with a TermRef type. | |||||
* | Merge pull request #677 from alexander-myltsev/am-579-implement_class_of | Dmitry Petrashko | 2015-06-23 | 2 | -0/+60 | |
|\ | | | | | Closes #579 Implement mini-phase for classOf[T] | |||||
| * | Closes #579 Implement mini-phase for classOf[T] | Alexander Myltsev | 2015-06-22 | 2 | -0/+60 | |
| | |