Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Name lookup] Support lookup of 'self' in lazy property initializers. #4676

Merged
merged 1 commit into from Sep 8, 2016

Commits on Sep 8, 2016

  1. [Name lookup] Support lookup of 'self' in lazy property initializers.

    Lazy property initializers can refer to 'self' either directly or
    implicitly (via references to instance members). Model this in
    ASTScope-based unqualified name lookup.
    
    Note that the modeling of 'self' with the current name lookup
    mechanism is broken, so when ASTScope-based unqualified name lookup is
    enabled, it fixes SR-2203, rdar://problem/16954496, and the many dupes
    of the latter.
    DougGregor committed Sep 8, 2016
    Copy the full SHA
    67bf68a View commit details
    Browse the repository at this point in the history