Skip to content

Frontend: Introduce -experimental-lazy-typecheck action #68021

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
Aug 19, 2023

Conversation

tshortli
Copy link
Contributor

@tshortli tshortli commented Aug 18, 2023

This action is currently just an alias of the -resolve-imports action. However, it's named to more clearly reflect the purpose which is to do the minimal typechecking needed in order to emit the requested outputs. This mode is intended to improve performance when emitting .swiftinterface and .tbd files.

Resolves rdar://114116447

This action is currently just an alias of the `-resolve-imports` action.
However, it's named to more clearly reflect the purpose which is to do the
minimal typechecking needed in order to emit the requested outputs. This mode
is intended to improve performance when emitting `.swiftinterface` and `.tbd`
files.
Also, restructure the `CHECK:` lines for the `-emit-tbd` test. The number of
columns in the `.tbd` file appears to be variable, so we can't assume a layout
for the symbols in the YAML.
@tshortli tshortli requested a review from artemcm as a code owner August 18, 2023 23:32
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli
Copy link
Contributor Author

Driver PR: swiftlang/swift-driver#1419

@tshortli tshortli merged commit b234b79 into swiftlang:main Aug 19, 2023
@tshortli tshortli deleted the experimental-lazy-typecheck branch August 21, 2023 22:39
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