Skip to content

FineModuleTrace: avoid emitting trace file when lazy type checking is enabled. #78046

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 1 commit into from
Dec 8, 2024

Conversation

nkcsgexi
Copy link
Contributor

@nkcsgexi nkcsgexi commented Dec 7, 2024

When lazy type checking is enabled, the generated AST to walk on may contain function bodies that are not fully type-checked. Walking on these function bodies could expose latent bugs.

Resolves rdar://140818215

@nkcsgexi
Copy link
Contributor Author

nkcsgexi commented Dec 7, 2024

@swift-ci please smoke test

… enabled.

When lazy type checking is enabled, the generated AST to walk on may contain function bodies that
are not fully type-checked. Walking on these function bodies could expose latent bugs.

Resolves rdar://140818215
@nkcsgexi
Copy link
Contributor Author

nkcsgexi commented Dec 8, 2024

@swift-ci please smoke test

@nkcsgexi nkcsgexi enabled auto-merge December 8, 2024 06:16
@nkcsgexi nkcsgexi merged commit 1e5be2b into swiftlang:main Dec 8, 2024
3 checks passed
@slavapestov
Copy link
Contributor

Thanks!

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