Skip to content

Mark lazy properties as having mutating getters immediately #20779

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

Merged
merged 1 commit into from
Nov 27, 2018

Conversation

rjmccall
Copy link
Contributor

We were trying to do this when synthesizing the getter prototype, but we don't do that immediately when we're just type-checking a reference to the storage, which could lead to the reference thinking that the getter was non-mutating.

Fixes rdar://45712204.

We were trying to do this when synthesizing the getter prototype, but
we don't do that immediately when we're just type-checking a reference
to the storage, which could lead to the reference thinking that the
getter was non-mutating.

Fixes rdar://45712204.
@rjmccall
Copy link
Contributor Author

@swift-ci Please test.

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - b9f4b17

@rjmccall
Copy link
Contributor Author

There is nothing at all in that log saying why it failed.

@rjmccall
Copy link
Contributor Author

@swift-ci Please clean test OS X

@rjmccall rjmccall merged commit 7531fd3 into swiftlang:master Nov 27, 2018
@rjmccall rjmccall deleted the lazy-property-is-mutating branch November 27, 2018 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants