Skip to content

Conversation

@KingOfBrian
Copy link
Contributor

This PR fixes a bug I introduced in #6346. If an @objc variable declared in a class is overridden in an extension with computed or observed blocks, multiple errors are generated -- one for each contained decl. There is a flag passed into recordOverride with the intent to restrict this warning for override_decl_extension, but I didn't realize its purpose. I fixed the check and added tests for the various scenarios.

Resolves SR-4024.

@slavapestov
Copy link
Contributor

@swift-ci Please smoke test

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.

2 participants