aboutsummaryrefslogtreecommitdiff
path: root/tests/run
Commit message (Collapse)AuthorAgeFilesLines
* Two more testsMartin Odersky2016-05-191-0/+10
| | | | Unrelated to other commits but useful to get in.
* Another test case involving super accessorsMartin Odersky2016-05-181-2/+2
|
* A test case for overloading/overriding interactionsMartin Odersky2016-05-181-0/+27
| | | | | This showcases a tricky interaction between overloading and overriding. See discussion of #1240 for context.
* Merge pull request #1219 from dotty-staging/fix-strawmansDmitry Petrashko2016-04-207-2/+1568
|\ | | | | Fix strawmans
| * Fix check filesMartin Odersky2016-04-172-2/+0
| |
| * Updates of strawmanMartin Odersky2016-04-176-46/+867
| | | | | | | | | | Bring strawman-4 and strawman-5 to feature-parity. Test also strawman-4.
| * Drop type annotation in collection testMartin Odersky2016-04-161-1/+1
| |
| * Add check fileMartin Odersky2016-04-151-0/+68
| |
| * New testsMartin Odersky2016-04-153-2/+681
| | | | | | | | | | | | | | New CollectionStrawMan5, executed as runttest in two different ways: - built with scalac, test compiled by dotty in tests/run. - built with dotty, test compiled by dotty using separate compilation.
* | Add a test to check multidimenstionall arrays.Dmitry Petrashko2016-04-181-0/+37
|/
* Merge pull request #1104 from dotty-staging/spec-bugsDmitry Petrashko2016-03-241-0/+17
|\ | | | | Improvements & bugs that were discovered while implementing specialization.
| * Add a test that checks that no useless forwarders are being created.Dmitry Petrashko2016-03-151-0/+17
| |
* | Merge pull request #1160 from dotty-staging/add/collection-strawmanodersky2016-03-181-4/+4
|\ \ | | | | | | Add/collection strawman
| * | Make use of better overload resolution in collections strawman testMartin Odersky2016-03-091-2/+2
| | |
| * | New collection strawmanMartin Odersky2016-03-091-2/+2
| | | | | | | | | | | | Centered around views instead of iterators.
* | | Merge pull request #1165 from dotty-staging/fix-#1144Dmitry Petrashko2016-03-152-0/+9
|\ \ \ | |_|/ |/| | Pickle/unpickle SuperAccessor names
| * | Pickle/unpickle SuperAccessor namesMartin Odersky2016-03-102-0/+9
| |/ | | | | | | | | Needed to restore the SuperAccessor flag in separate compilation. Fixes #1144.
* / Make sure lazy accessors in traits are not private.Martin Odersky2016-03-102-0/+9
|/ | | | Fixes #1140. Review by @DarkDimius or @smarter.
* Merge pull request #1155 from dotty-staging/staticodersky2016-03-091-0/+40
|\ | | | | Implement @static sip.
| * Add test that was used to see if @static works.Dmitry Petrashko2016-03-071-0/+40
| |
* | Merge pull request #1147 from sjrd/fix-non-jvm-sam-non-applyodersky2016-03-072-0/+12
|\ \ | | | | | | Fix #1146: Fix bug of ExpandSAMs with non-apply SAM methods.
| * | Fix #1146: Fix bug of ExpandSAMs with non-apply SAM methods.Sébastien Doeraene2016-03-072-0/+12
| |/ | | | | | | | | | | When expanding a SAM, ExpandSAMs always used the name `apply` for the generated forwarder, instead of the name of the method which is abstract in the SAM type. This commit fixes this issue.
* | Merge pull request #1150 from dotty-staging/change-lambdalift-fasttrackodersky2016-03-071-0/+156
|\ \ | |/ |/| Change lambdalift - fasttrack
| * Fix call propagation from constructor to classMartin Odersky2016-03-021-0/+16
| |
| * LambdaLift redesignMartin Odersky2016-03-021-3/+43
| | | | | | | | | | | | | | Simplifications in order to avoid the freqent special casing of constructors and prepare the way for proper handling of trait constructors (which cause problems; see pending/pos/llift.scala.
| * Handle local traits in lambda liftMartin Odersky2016-03-011-0/+100
| |
* | Merge pull request #1111 from dotty-staging/fix-#1099Dmitry Petrashko2016-03-021-0/+25
|\ \ | |/ |/| Special case pattern matching against abstract types with class tags
| * Special case for pattern matching tagged abstract types.Martin Odersky2016-02-201-0/+25
| | | | | | | | Add special case when pattern matching against an abstract type that comes with a class tag
* | Test that #1114 is fixed.Dmitry Petrashko2016-02-201-0/+21
|/
* Merge pull request #898 from dotty-staging/add/auto-uncurryodersky2016-02-181-0/+8
|\ | | | | Implement auto tupling of function arguments
| * Untuple using `def` not `val`.Martin Odersky2016-02-161-0/+8
| | | | | | | | As retronym noted on #897, `val` forces to early.
* | Reinstantiate t920Martin Odersky2016-02-171-0/+24
|/ | | | | | Got deleted by accident. Version in run has object renamed to prevent case clashes on MacOS. Version that exhibits the clash is in pending/run.
* Move test to pendingMartin Odersky2016-02-111-20/+0
| | | | | | | | | | The underlying problem on MacOS/Windows remains: We have a class `B` and an object `b` in the same scope. We used to get a conflict on `B$/b$` because we created an empty companion object for `B`. Now we get a conflict for `B/b`, because the `b` object creates to classes: `b.class` an `b$.class` and `b.class` clashes with `B.class`.
* Enable tests for old fixed issuesGuillaume Martres2016-02-096-0/+584
| | | | Fix #530, #654, #681, #684, #685
* New test files from SI 7278.Martin Odersky2016-02-091-0/+32
|
* Enforce rule that laziness is preserved when overriding.Martin Odersky2016-02-091-1/+1
|
* Disable benchmark testMartin Odersky2016-02-041-88/+0
| | | | | | | | The test checks that Scala collections perform within 10x of Java collections. That's not something we need to test for dotty. And because of the heavily parallel execution of the tests it does not always hold. This is the second time in a a month that this particular test failed on jenkins. I think we lost enough cycles on it.
* Extend testMartin Odersky2016-01-192-0/+7
| | | | | We verified that before the combination abstract/concrete for `x` also led to AMEs. So we test it here explicitly, too.
* Stop crashes because we're out of memory by disabling t7880Guillaume Martres2016-01-171-7/+0
| | | | | | | | | | | | | | | | All of our recent memory-related tests failures since https://github.com/lampepfl/dotty/pull/1030 was merged seem to be caused by t7880.scala. It tries to intentionally trigger an OutOfMemoryError, however since we don't pass -Xmx to our run tests it's possible that this we fill up the memory of our host before we reach the maximum heap size of the JVM. Ideally, we would specify a -Xmx for run tests (scalac uses 1 GB), unfortunately in the version of partest we use this is tricky because we need to set the system property "partest.java_opts". If we upgrade our partest to the latest release, we can instead specify it by setting the argument `javaOpts` of the constructor of `SuiteRunner`, see https://github.com/scala/scala-partest/commit/7c4659e1f88b410109ad3c4e7f66ae7070c6e985
* Fix ambiguity errors with polymorphic implicitsGuillaume Martres2015-11-182-0/+15
| | | | | | | | | Previously, `isAsSpecific(alt1, tp1, alt2, tp2)` did not handle having `tp2` be a polymorphic non-method type like `[A]Foo[A]`. Also update the documentation of `isAsSpecific` to account for this change, the new documentation is based on SLS § 6.26.3 but adapted to reflect the code.
* Test that private member selection on AndTypes works.Dmitry Petrashko2015-11-101-0/+17
|
* Update check fileMartin Odersky2015-11-012-5/+5
| | | | and explain why it's different now.
* Disable failing testMartin Odersky2015-11-011-2/+6
| | | | | Dotty delivers an ambiguity error. The comment in the test argues why this is OK.
* 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
| |