ca1650d31d
"The constraint shouldn't contain different type variables on both sides: T <: R". It occurred because we analyzed function literals before completion with unsubstituted (therefore wrong) expected type, and cached resulting type.