aboutsummaryrefslogtreecommitdiff
path: root/tests/run
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #835 from dotty-staging/add-more-testsodersky2015-10-223-0/+23
|\ | | | | Add more tests
| * More testsMartin Odersky2015-10-213-0/+23
| |
* | Fix tests to survive wellformedness checksMartin Odersky2015-10-221-3/+2
| |
* | Test that more than 16 lazy vals can be safely used in one object.Dmitry Petrashko2015-10-221-0/+65
|/
* Merge pull request #799 from dotty-staging/change-inferenceodersky2015-10-071-2/+1
|\ | | | | Change inference
| * Add test caseMartin Odersky2015-09-181-2/+1
| |
* | Rename collectAs -> toMartin Odersky2015-10-061-14/+14
| |
* | Tweaks to conform with API set out in #818.Martin Odersky2015-10-061-14/+14
| |
* | Bugfixes and move CollectionStrawMan1 into the correct directory.Martin Odersky2015-10-061-10/+10
| |
* | Add ArrayBuffer as another Seq class. Make iterators inspectable.Martin Odersky2015-10-062-0/+19
| |
* | Add collection strawman and its testsMartin Odersky2015-10-062-0/+219
|/ | | | This compiles only after the changes in this branch.
* Fix #791 erasedLub of two AnyVals is Object.Dmitry Petrashko2015-09-171-0/+11
|
* New phase: ExplicitSelfMartin Odersky2015-09-172-0/+21
| | | | | Makes self types explicit, if this is needed to identify a member in a select. Fixes #789.
* Enable more tests that passDmitry Petrashko2015-09-1475-0/+1581
|
* final-fields.scala: tes objects with constant final vals.Dmitry Petrashko2015-09-141-1/+4
|
* Add another testMartin Odersky2015-09-142-1/+6
| | | | | Check that calling a side effecting function returning a constant type does not get suppressed.
* Augment test fileMartin Odersky2015-09-141-0/+18
| | | | to test for propagation of constant types.
* Test behaviour of final vals.Dmitry Petrashko2015-09-142-0/+24
|
* Add testMartin Odersky2015-09-122-0/+74
| | | | Should have been added on final vals commit.
* Merge pull request #767 from dotty-staging/fix-#756-super-accessorsDmitry Petrashko2015-08-281-0/+8
|\ | | | | Fix #756 super accessors
| * Add test caseMartin Odersky2015-08-211-0/+8
| |
* | Refine refOfDef top handle repeated parametersMartin Odersky2015-08-221-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/forwardersodersky2015-08-221-0/+14
|\ \ | | | | | | Mixin: class defined abstract members take precedence over interface defined.
| * | Test that forwarders are correctly created.Dmitry Petrashko2015-08-211-0/+14
| |/
* / Test that fields are correctly set before super constructor is called.Dmitry Petrashko2015-08-211-0/+12
|/
* Merge pull request #758 from ↵Dmitry Petrashko2015-08-201-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 Odersky2015-08-151-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 Odersky2015-08-151-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-fixesodersky2015-08-201-0/+23
|\ \ | | | | | | Fixes to scala2 Mixin
| * | test #760Dmitry Petrashko2015-08-171-0/+23
| |/
* / Test that partial functions are handled correctly.Dmitry Petrashko2015-08-171-0/+10
|/
* GetClass: get classSymbol reliablyDmitry Petrashko2015-08-131-1/+2
| | | | TermRefs do not have a classSymbol.
* Add LiftTry phaseMartin Odersky2015-08-052-0/+28
| | | | | Phase lifts tries that would be illegal because they execute on non-empty expression stacks.
* Implement non-local returnsMartin Odersky2015-08-041-0/+32
| | | | Non-local returns are now implemented.
* Merge pull request #735 from dotty-staging/ycheck-methodsodersky2015-08-0498-1/+4447
|\ | | | | Ycheck that methods defined in ClassInfo exist in tree.
| * Fix #744Dmitry Petrashko2015-07-282-0/+9
| | | | | | | | Mixi was not calling transformFollowing on generated setters.
| * Remove warning from .check file that is not emitted by DottyDmitry Petrashko2015-07-141-3/+0
| |
| * Enable 61 tests that succeed.Dmitry Petrashko2015-07-1395-0/+4440
| |
| * Fix ClassCastException in patmat when using Product1.Dmitry Petrashko2015-07-131-1/+1
| |
* | Implement getClass methodAlexander Myltsev2015-07-252-0/+67
| |
* | Prettify console output of classof check testAlexander Myltsev2015-07-232-4/+7
| |
* | Merge pull request #727 from dotty-staging/genbcode-annotationsDmitry Petrashko2015-07-151-0/+12
|\ \ | | | | | | Implement emission of annotations in GenBCode.
| * | Implement emotion of annotations in GenBCode.Dmitry Petrashko2015-07-141-0/+12
| |/ | | | | | | Fixes #688
* / SyntheticMethods: override productPrefix for case classesGuillaume Martres2015-07-132-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 workGuillaume Martres2015-07-042-0/+17
| | | | This confirms that SI-6359 does not apply to Dotty.
* Merge pull request #695 from dotty-staging/fix/source-positionsDmitry Petrashko2015-07-021-3/+3
|\ | | | | Avoid crasher when first token of a program is in error
| * Updated check file.Martin Odersky2015-06-251-3/+3
| | | | | | | | Seems partest adds code to the sources so that line numbers are not the same.
| * Update check file.Martin Odersky2015-06-251-3/+3
| | | | | | | | Line numbers were wrong in previous file.
* | Drop Module flag from lifted symbols.Martin Odersky2015-06-262-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 testMartin Odersky2015-06-261-5/+5
| | | | | | | | Uncommented parts that were left accidentally commented out when debugging.