Commits

Devin Coughlin committed 71116b490bf
[Sema] Use type refinement context of storage as parent for accessor functions. This commit changes building of type refinement contexts for accessor functions to use the type refinement context of its associated storage as a parent rather than its lexically-enclosing context. With this change, we now associate new child contexts inside property accessors with the TRC of the property rather than the TRC of the container of the anonymous function created for the accessor. This commit also adds a dump() debug method to TypeRefinementContext. Swift SVN r22718