summaryrefslogtreecommitdiff
path: root/test/files/pos/t4881.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-4881 infer variance from formals, then resultMartin Odersky2012-07-231-0/+31
Changed behavior so that when determining the target variance of a method parameter, the variance in formals comes first. If variance is still undecided by that, the variance in the result type is used as a secondary criterion. (This is also done when determining prototype type params.)