aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/implicitDefs.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix neg test caseMartin Odersky2016-12-121-1/+1
| | | | Needed an // error annotation
* Better diagnosis for cyclic references caused by implicit searchMartin Odersky2016-12-121-0/+7
| | | | | | | | | Since we now allow to drop the explicit type of a local implicit val it can happen that this causes a cyclic reference, namely when the typechecking of the right-hand side involves an implicit search. It's unpractical and fragile to avoid this. Instead we give now a nice error message explaining the problem and how to fix it in source code.
* Neg tests: remove xerror parameter from tests (compute based on // error)VladimirNik2016-03-031-3/+3
|
* Improve eligible caching in implicit search.Martin Odersky2014-02-021-0/+11
Improves effectiveness of elidable cache from ~66% to ~85% and reduces # of implicits that need to be checked after discarding to about 20% what it was before.