Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "SI-4881 infer variance from formals, then result" | Paul Phillips | 2012-09-29 | 1 | -31/+0 |
| | | | | This reverts commit 5c5e8d4dcd151a6e2bf9e7c259c618b9b4eff00f. | ||||
* | SI-4881 infer variance from formals, then result | Martin Odersky | 2012-07-23 | 1 | -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.) |