aboutsummaryrefslogtreecommitdiff
path: root/tests/untried
Commit message (Collapse)AuthorAgeFilesLines
* Fix #1644: Disallow inner classes in value classesGuillaume Martres2017-02-011-29/+0
|
* Enable scala.Dynamic pending/untried tests.Nicolas Stucki2016-09-059-165/+0
|
* Fix #1468: Add type parameter support for scala.DynamicNicolas Stucki2016-09-052-25/+0
|
* Categorize more testsMartin Odersky2015-12-1962-829/+0
| | | | All pos tests up to 3999 have been triaged. One new test in pending.
* Enable untried pos tests related to value classesGuillaume Martres2015-05-0121-211/+0
| | | | | Each test needs to have its own package because pos_all will try to compile the whole valueclasses directory at once.
* Ensure spaces after `if` in Dotty tests.Dmitry Petrashko2015-04-0910-12/+12
|
* Add spaces around + in tests.Dmitry Petrashko2015-04-0917-45/+45
|
* Remove trailing spaces in Dotty tests.Dmitry Petrashko2015-04-0917-32/+32
|
* Replace tabs with 4 spaces in Dotty tests.Dmitry Petrashko2015-04-0946-109/+109
|
* Make all dotty tests end in newlineDmitry Petrashko2015-04-0913-13/+13
|
* Test re-org.Martin Odersky2014-12-191-17/+0
| | | | Moved some working test to pos. I wonder why they were in pending? They did work for me.
* move failing tests from tests/untried/pos to tests/pending/posSamuel Gruetter2014-12-16494-9309/+0
|
* run srewrite version 88d3cd4126d135617a8189f0a855757d7e2ab806 on ↵Samuel Gruetter2014-12-1635-57/+118
| | | | tests/untried/pos
* Triage of tests t27xx-t29xx.Martin Odersky2014-05-3037-358/+0
|
* Fix of t2504Martin Odersky2014-05-307-75/+0
| | | | | | | | | Another problem where we need to insert an implicit on the result type of complex operation. Two additions: (1) If adapt fails, we now try with a weaker FunProto without result type, thus allowing for an additional implicit cpmversion on the result. (2) An Application in a committable context will not fail if the result type does not match the expected one. The problem will be simply deferred in that case.
* Tests pos/23xx to 24xx.Martin Odersky2014-05-2037-499/+0
|
* Tests pos 20xx 21xxMartin Odersky2014-05-2026-381/+0
|
* Pos tests t17xx - t19xxMartin Odersky2014-05-2043-474/+0
|
* More testsMartin Odersky2014-05-1257-585/+2
|
* TailRec phase and tests for it.Dmitry Petrashko2014-04-1119-352/+0
| | | | | | | | | | | | | | | | | | | | | | | | Ported tailcall phase from scalac with such changes: - all transformation is done in the phase itself (previously half of the work was done in backend) - it is now able to run before uncurry - it is now a treeTransform - renamed to tailrec to make it more obvious that this phase transforms only recursive calls. For now this is a single phase which speculatively transforms DefDefs. Speculation can be potentially removed by splitting into 2 phases: one detecting which methods should be transformed second performing transformation. But, as transformation requires as same amount of work as detection, I believe it will be simpler to maintain it as a single phase. Conflicts: tests/pos/typers.scala
* Intercepted methods transformerDmitry Petrashko2014-04-021-6/+0
| | | | | | | Replace member references for: methods inside Any( == and !=) ## on primitives .getClass on primitives
* More tests, currently disabledMartin Odersky2014-03-2132-143/+0
| | | | Mostly Java interop tests which are not yet supported. The test infrastructure for Java ocmpilation and the java parser from Scala are still missing.
* More testsMartin Odersky2014-03-2144-661/+0
|
* Fix of t1123 - Unit discardingMartin Odersky2014-03-211-11/+0
| | | | Need to do unit discarding also in selection prototypes.
* Fix of t112606A - path dependent typesMartin Odersky2014-03-211-25/+0
| | | | Needed an extra case in isSubType.
* Fix of t1056 - PartialFunctionMartin Odersky2014-03-211-5/+0
| | | | type T was not recorgnized as a SAM type because a case was missing in zeroParamClass.
* More testsMartin Odersky2014-03-2110-87/+0
| | | | which all pass.
* Fix of t0774: empty fileMartin Odersky2014-03-212-10/+0
| | | | | | | | | Was previously wrapped in a package <empty> but the resulting tree had no position, which caused a Typer assertion. If now represented as EmptyTree.
* Fix of t0786: view boundsMartin Odersky2014-03-211-29/+0
| | | | | | | Previously, only implicit method types were eligible as views. This is too strict, as it rules out view bounds. We now also consider types that derive from Function1. The reason for not allowing any type is that this would cause us to check many more types for applicability when an implicit view is searched.
* More testsMartin Odersky2014-03-216-100/+0
| | | | | | Added more tests which all pass, except for tests in disabled and pending. t0694 went from pos to neg, because the kind of alias type used in t0695 is no longer supported.
* Fix of t0591: implicitlyMartin Odersky2014-03-211-7/+0
| | | | A debug assertion in implicitSearch gave a false alarm and was removed.
* Fix of t0504: _root_ not foundMartin Odersky2014-03-211-9/+0
| | | | _root_ is now entered into an enclosing context.
* Fix of t0438 - lambdas and eta expansionMartin Odersky2014-03-215-42/+0
| | | | | | | | | | | | | | Two fixes were needed 1) When typing a function value (x1: T1, ..., xN: Tn) => e, don't unconditionally issue an error if the expected function type arity is different from N. Instead, issue an error only if one of the types T1, ..., Tn is absent. The idea is that only then we need to consult the expected type for the parameter type. This allows to fix the problem later by an implicit conversion applied to the function value. 2) When eta-expanding, do not automtically take the arity of the expected function value as the arity of the generated lambda. Instead, take the method's arity, and copy method parameters into the lambda in case the arities are different.
* Tests t01xx and t02xxMartin Odersky2014-03-219-106/+0
| | | | | | | | Test t0288 moved to disabled due to lack of Java interop. Test t0273 fixed by relaxing double def condition: We only regard two definitions that define the same name and have exactly the same signature as double definitions. Previously, signatures that defined the same parameters were also excluded.
* move all tests in tests/untried/neg which use implicits to ↵Samuel Gruetter2014-03-19113-0/+0
| | | | tests/untried/neg-with-implicits
* apply srewrite (no procedure syntax for constructors) to tests/untried/negSamuel Gruetter2014-03-193-6/+6
|
* apply srewrite (explicit types for implicits + no procedure syntaxSamuel Gruetter2014-03-1940-65/+65
| | | | for constructors) to tests/untried/pos
* add tests from scala/test/files/{pos,neg}Samuel Gruetter2014-03-123539-0/+49725
with explicit Unit return type