aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t1279a.scala
Commit message (Collapse)AuthorAgeFilesLines
* Neg tests: remove // error from pos testsVladimirNik2016-02-191-1/+1
|
* Negtests with // error commentsvsalvis2016-02-181-2/+2
|
* Drop test that lower bound must be a subtype of upper bound.Martin Odersky2015-11-051-0/+39
| | | | | | As discussed in #780 and #525, the test is not needed. This makes t1279a compile, which got moved now to pos. Fixes #780 and #915. It also makes scala.List compile. Review by @smarter.
* Re-enabled checkbounds testsMartin Odersky2014-08-081-39/+0
| | | | | | | | Now that F-bunded types are treated more robustly, we can check bounds for non-emptyness during Typer. This unvealed one wrong test (wonder how that passed scalac?), which got moved to neg.
* Fix of t1279a: baseTypeWithArgsMartin Odersky2014-03-211-0/+39
baseTypeWithArgs now also keeps track of refinements in the subtypes. Without that, the approximated lub in t1279a is too coarse and the program fails to typecheck.