swift
d051b626 - Ensure that we do not turn rvalues into lvalues

Commit
1 year ago
Ensure that we do not turn rvalues into lvalues The computation that determined whether an access to a `let` instance property within a constructor should be an initialization conflated the cases of "we don't have a base expression" and "the base expression is not something that could be `self`", and incorrectly identified rvalue bases as being "initializable". Make the interface properly separate out these cases, so we don't turn an lvalue into an rvalue access. Fixes rdar://128661833.
Author
Parents
Loading