aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/subtyping.scala
Commit message (Collapse)AuthorAgeFilesLines
* Allow definition of new types in refinementsMartin Odersky2016-07-121-1/+1
| | | | | Allow definition of types in refinements that do not appear in parent type.
* Avoid propagating unresolved implicitsMartin Odersky2016-04-211-1/+1
| | | | | | | | | | When an implicit argument is not found, we should in any case assume the result type of the implicit method as the type of the tree (after reporting an error, of course). If we don't do that, we get implicit errors on weird positions when we try to find an implicit argument for the same tree again. This caused a spurious error in subtyping.scala, and also caused an additional error at the end of EqualityStrawman1.scala.
* Adapt neg tests to new neg tests checksVladimirNik2016-02-181-4/+4
|
* Negtests with // error commentsvsalvis2016-02-181-3/+3
|
* Fix subtyping of types without symbolsGuillaume Martres2014-10-091-1/+5
|
* Simplify subtying testGuillaume Martres2014-10-091-4/+1
|
* Fix isSubType(A#X, B#X) not checking if A <: BGuillaume Martres2014-10-051-0/+13