Commits

Joe Groff committed cd799f67973
Sema: Coerce structural lvalues when binding to non-lvalue type variables. Modify TypeBase::getRValueType to structurally convert lvalues embedded in tuple and paren types. Inside the constraint solver, coerce types to rvalues based on the structural 'isLValueType' test rather than shallow 'is<LValueType>' checking. Fixes <rdar://problem/17507421>, but exposes an issue with call argument matching and lvalues <rdar://problem/17786730>. Swift SVN r20442