Skip to content

Frontend: Lift restrictions on lazy type checking options #73905

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

tshortli
Copy link
Contributor

The -experimental-skip-all-function-bodies flag is specified when producing modules for indexing. These modules are not used for compilation, so it should be safe to allow -experimental-lazy-typecheck and -experimental-skip-non-exportable-decls as well without -enable-library-evolution.

Resolves rdar://128706306

tshortli added 3 commits May 24, 2024 14:43
…-lazy`.

It is no longer needed to work around missing build system support.
The `-experimental-skip-all-function-bodies` flag is specified when producing
modules for indexing. These modules are not used for compilation, so it should
be safe to allow `-experimental-lazy-typecheck` and
`-experimental-skip-non-exportable-decls` as well without
`-enable-library-evolution`.

Resolves rdar://128706306
@tshortli tshortli requested a review from bnbarham May 24, 2024 22:15
@tshortli tshortli requested review from hborla and xedin as code owners May 24, 2024 22:15
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli enabled auto-merge May 25, 2024 00:55
@tshortli tshortli merged commit 3693592 into swiftlang:main May 25, 2024
3 checks passed
@tshortli tshortli deleted the allow-skip-non-exportable-with-skip-all-function-bodies branch May 26, 2024 23:26
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