scala/scala — pull request #1726 by phaller (2012-12-07 12:30:13+00:00)
Title: SI-5958 This deserves a stable type - backport to 2.9.x

`this` (or the self variable) passed as an actual argument to a method
should receive a singleton type when computing the method's resultType

this is necessary if the method's type depends on that argument

adapts the test so that it runs on 2.9.x

Note: this backport is required for the backport of SIP-14 (futures).

review by @adriaanm