aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2045 from dotty-staging/fix-hlist-hmapodersky2017-03-091-0/+45
|\ | | | | Fix type inference for HLists and HMaps
| * Re-instantiate depmeth testsMartin Odersky2017-02-281-0/+45
| | | | | | | | | | These now compile with the changes to dependent methods, except for one which is invalid under dotty.
* | Disable most tests that depend on scala-reflectGuillaume Martres2017-03-086-0/+111
|/
* Disable tests that require scala-compilerGuillaume Martres2017-02-189-0/+274
| | | | This is necessary if we ever want to get rid of our dependency on scala-compiler
* Merge pull request #1465 from dotty-staging/fix-#1457odersky2016-09-162-0/+24
|\ | | | | Fix #1457: Three incompatbilities with scalac
| * Accommodate Scala2 name resolution schemeMartin Odersky2016-08-263-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Scala2 does not conform to spec Section 2, where it says: Bindings of different kinds have a precedence defined on them: 1. Definitions and declarations that are local, inherited, or made available by a package clause and also defined in the same compilation unit as the reference, have highest precedence. 2. Explicit imports have next highest precedence. 3. Wildcard imports have next highest precedence. 4. Definitions made available by a package clause, but not also defined in the same compilation unit as the reference, have lowest precedence. In fact Scala 2, merges (1) and (4) into highest precedence. This commit simulates the Scala2 behavior under -language:Scala2, but gives a migration warning. For the naming-resolution test case we get: dotc *.scala -language:Scala2 -migration callsite.scala:9: migration warning: Name resolution will change. currently selected : naming.resolution.Files in the future, without -language:Scala2: java.nio.file.Files' where Files is a type in package object package which is an alias of java.util.stream.Stream[java.nio.file.Path] Files' is a class in package file def gimmeFiles: Files = Files.list(Paths.get(".")) ^ one warning found
| * Fix #1457: Three incompatbilities with scalacMartin Odersky2016-08-235-0/+47
| | | | | | | | | | | | | | | | Two of these are unavoidable. I moved the tests to diabled/not-representable and added in each case a comment to the main scala file detailing why there is a deviation. The last one (import-rewrite) is fixed.
* | Add some run testsMartin Odersky2016-09-141-0/+21
| |
* | Dependent method testsMartin Odersky2016-08-261-0/+44
| |
* | More tests recategorizedMartin Odersky2016-08-262-0/+35
| |
* | Move tests to right directoryMartin Odersky2016-08-265-0/+12
| |
* | Add more missing testsMartin Odersky2016-08-268-0/+72
| |
* | Implement alternative desugaring of for-if to filter.Martin Odersky2016-08-262-0/+93
| | | | | | | | | | | | | | Fallback to .filter if a .withFilter is not available, but do this only for .withFilter calls generated from for expressions (this is different from what scalac does; the latter can also rewrite .withFilter calls given in source, which is not desirable.
* | Recategorize testsMartin Odersky2016-08-268-0/+59
|/ | | | | | | | | Passing tests from pending/pos go in pos. Some others go in diabled/not-testable. These are tests that require a compilation order which we cannot yet do with our unit testing framework. Compiling them alltogether (as is now doen in junit) does not work either for them because they contain a duplicate class.
* Test reshufflingMartin Odersky2016-08-181-0/+10
| | | | | | - Delete redundant t2660 (exists elready in pos) - Comment t1756 - Recategorize tryexpr
* Drop restriction to 2nd order hk typesMartin Odersky2016-07-121-3/+3
| | | | Allow hk type parameters to be higher kinded themselves.
* Change testsMartin Odersky2016-07-116-0/+663
| | | | | | | | | | | | | | | | - compileMixed failed because there was a cycle between immutable.Seq (compiled) and parallel.ParSeq (loaded from classfile). Inspection of the completion log (turn completions Printer on) and the stack trace showed that there's nothing we can do here. The old hk scheme did not go into the cycle because it did not force an unrelated type. I believe with enough tweaking we would also hva egotten a cycle in the old hk scheme. The test is "fixed" by adding parallel.ParSeq to the files to compile. - Disable named parameter tests Those tests do not work yet with the revised hk scheme. Before trying to fix this, we should first decide what parts of named parameters should be kept.
* Annotate repeated params with `case` flag to indicate that they are legalFelix Mulder2016-05-271-1/+1
| | | | | | | One drawback with this approach is that the type seems to propagate. I.e. if the return type of an expression is `repeated` then the enclosing variable will get the `repeated` type instead of getting the expected `Seq` type
* Don't evaluate isInstanceOf for value classes, disable bugged testsFelix Mulder2016-05-262-0/+14
| | | | | | | The tests `i1059.scala` and `t3480.scala` are failing due to a bug in pattern matcher that evaluates the `x` in `List(x: _*)` incorrectly. Concerned issue: #1276
* Enable tests for old fixed issuesGuillaume Martres2016-02-091-8/+0
| | | | Fix #530, #654, #681, #684, #685
* Disable benchmark testMartin Odersky2016-02-041-0/+88
| | | | | | | | 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.
* Merge pull request #664 from dotty-staging/more-testsodersky2015-06-181020-0/+11391
|\ | | | | Enable tests that pass, move macro tests to disabled.
| * Move tests that have " macro" or "reify" to disabled.Dmitry Petrashko2015-06-151020-0/+11391
| |
* | Fix mergeDenot one more time.Martin Odersky2015-06-072-46/+0
| | | | | | | | | | | | | | | | | | | | It's easy to get this wrong. What happened was that when computing deferred members of a class a deferred member was preferred over a concrete one because the types did not match. Thsi should not happen. We now change the scheme to always prefer concrete over abstract, and subclass-owned over superclass-owned. But we pick a denotation only if the overrides relationship on types coincides with the preference on symbols.
* | Bring back tests from disabled.Martin Odersky2015-06-073-52/+0
| | | | | | | | The tests in this commit pos were verified to work again.
* | Fix refs to inner objectsMartin Odersky2015-06-071-14/+0
|/ | | | | | | | A reference to an object from anywhere in its module class can be established by the This of the module class. The previous behavior always referenced the object as a term ref which might cause a reference to the outer This which might not be available (since this is not tracked by ExplicitOuter). Brings t3174.scala back from disabled.
* Categorize disabled tests into pos/runMartin Odersky2015-05-275-0/+0
|
* Disable failing testMartin Odersky2015-05-272-0/+24
|
* Disabled two failing testsMartin Odersky2015-05-262-0/+46
| | | | | | Both tests fail with the same error: "Cannot create object because protected[this] newBuilder is not implemented". Not clear why partests claim to succeed here.
* Merge pull request #509 from dotty-staging/add/expandSAMsDmitry Petrashko2015-05-041-0/+9
|\ | | | | Expand SAM closures to anonymous classes if needed
| * Failing testMartin Odersky2015-05-021-0/+9
| | | | | | | | The test included here fails in backend.
* | Test case for #530: symbolic import failure.Martin Odersky2015-05-041-0/+8
|/
* Disable failing tests. See #503Dmitry Petrashko2015-04-302-0/+28
|
* Add spaces around + in tests.Dmitry Petrashko2015-04-091-1/+1
|
* Replace tabs with 4 spaces in Dotty tests.Dmitry Petrashko2015-04-093-9/+9
|
* New test for valueclassesMartin Odersky2015-03-131-7/+0
| | | | | | Re-instantiated t2667.scala, which failed before because of issue #390. Also changed order of tests in isDerivedValueClass, to make more disriminating test come first.
* Disable t2669 dies in Classfile parser while parsing ↵Dmitry Petrashko2015-02-111-0/+29
| | | | java.util.Vector(requested by backend)
* Disable t2667 that fails inside Extension methods.Dmitry Petrashko2015-02-111-0/+7
| | | | This info transformation was left untriggered before backend was enabled.
* Test reorgMartin Odersky2015-02-074-0/+60
|
* tests reorgsMartin Odersky2014-12-215-0/+106
| | | | Move some tests into proper slots + comments what they are.
* Test re-org.Martin Odersky2014-12-192-0/+117
| | | | Moved some working test to pos. I wonder why they were in pending? They did work for me.
* Fixes in TypeComparer for RefinedTypes.Martin Odersky2014-11-241-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous scheme did not propagate bounds correctly. More generally, given a comparison T { X <: A } <: U { X <: B } it would errenously decompose this to T <: U, A <: B But we really need to check whether the total constraint for X in T { X <: A } subsumes the total constraint for X in T { X <: B } The new scheme propagates only if the binding in the lower type is an alias. E.g. T { X = A } <: Y { X <: B } decomposes to T { A = A } <: U, A <: B The change uncovered another bug, where in the slow path we too a member relative to a refined type; We need to "narrow" the type to a RefinedThis instead. (See use of "narrow" in TypeComparer). That change uncovered a third bug concerning the underlying type of a RefinedThis. The last bug was fixed in a previous commit (84f32cd814f2e07725b6ad1f6bff23d4ee38c397). Two tests (1048, 1843) which were pos tests for scalac but failed compling in dotc have changed their status and location. They typecheck now, but fail later. They have been moved to pending. There's a lot of diagnostic code in TypeComparer to figure out the various problems. I left it in to be able to come back to the commit in case there are more problems. The checks and diagnostics will be removed in a subsequent commit.
* Moving java tests to posDmitry Petrashko2014-11-2282-378/+0
|
* create dummy first constructor for Java classesOndrej Lhotak2014-11-222-0/+0
| | | | | | The dummy constructor is needed so that the real constructors see the import of the companion object. The constructor has a parameter of type Unit so that no Java code can call it.
* support running java-interop testsOndrej Lhotak2014-11-2210-1/+1
|
* All pat-mat specific tests succeed now.Dmitry Petrashko2014-09-171-0/+14
| | | | | Except t1048 which infers incorrect type in typer, patmat creates a tree that computes a more precise one that fails to typecheck Disabling erasure due to dozens of "Type BLA is illegal after erasure" errors.
* Added test case for varargs bridgesMartin Odersky2014-08-032-0/+15
| | | | | | Currently we cannot run this test automatically because the testing framework does not know about .java files. It was run manually and verified that ElimRepeated does was it is supposed to do (create a varargs bridge).
* Triage of tests t27xx-t29xx.Martin Odersky2014-05-3011-0/+58
|
* Added t25xx testsMartin Odersky2014-05-302-0/+22
|
* Tests pos/23xx to 24xx.Martin Odersky2014-05-2012-0/+80
|