Skip to content

[Type Checker] Separate "override" checking into its own file #17694

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 2 commits into from
Jul 3, 2018

Conversation

DougGregor
Copy link
Member

Move "override" checking into its own new source file (~1,500 lines long) and start reducing its dependency on the TypeChecker instance. NFC despite all of the churn.

There is a lot of code involved in override checking; move it into its own
source file. NFC
…cking.

A type checker instance isn’t needed for most of the “override” checking,
so remove the TypeChecker parameters and instead get the ASTContext or
DiagnosticEngine from whatever decl or type is available. Another step
toward reducing dependency on a TypeChecker instance.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit 0fcaef1 into swiftlang:master Jul 3, 2018
@DougGregor DougGregor deleted the separate-override-checking branch July 3, 2018 14:38
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