Skip to content

[5.9][Test] Avoid verifying SILGen in cursor info test #65810

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
May 12, 2023

Conversation

bnbarham
Copy link
Contributor

@bnbarham bnbarham commented May 9, 2023

Verifying SILGen causes `loadAllMembers` to be run, which in turn ends
up actually creating the parent PBD of each `VarDecl` in this test.
Without verification, we never deserialize that PBD and thus end up with
`class` instead of `static` as we should. That's incorrect, but it's an
existing failure (rdar://105239467).

Resolves rdar://109037827.

(cherry picked from commit d0c8922)
@bnbarham bnbarham requested a review from a team as a code owner May 9, 2023 20:32
@bnbarham
Copy link
Contributor Author

bnbarham commented May 9, 2023

@swift-ci please test

@bnbarham bnbarham merged commit e0fdbd6 into swiftlang:release/5.9 May 12, 2023
@bnbarham bnbarham deleted the cherry-fix-static-test branch May 12, 2023 18:54
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