Skip to content

Remove eager propagation of SwiftASTContext warnings to Target. #3876

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

Conversation

adrian-prantl
Copy link

This feature is becoming less useful, as the per-module
SwiftASTContexts are only being used as an emergency backup. The error
messages are also available in the swift-healthcheck, so it's no
longer the right trade-off to eagerly surface them. This is one of two
loops in SwiftASTContext(ForExpression)::CreateInstance() that
force-initializes all module SwiftASTContexts and we would like to get
rid of both.

This feature is becoming less useful, as the per-module
SwiftASTContexts are only being used as an emergency backup. The error
messages are also available in the swift-healthcheck, so it's no
longer the right trade-off to eagerly surface them. This is one of two
loops in SwiftASTContext(ForExpression)::CreateInstance() that
force-initializes all module SwiftASTContexts and we would like to get
rid of both.
@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl adrian-prantl merged commit 81db3d7 into swiftlang:stable/20211026 Feb 2, 2022
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.

1 participant