Skip to content

[Test] Avoid verifying SILGen in cursor info test #65809

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.

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.
@bnbarham bnbarham requested a review from hamishknight May 9, 2023 20:29
@bnbarham bnbarham requested review from ahoppen and rintaro as code owners May 9, 2023 20:29
@bnbarham
Copy link
Contributor Author

bnbarham commented May 9, 2023

@swift-ci please test

@bnbarham
Copy link
Contributor Author

bnbarham commented May 9, 2023

@hamishknight is looking into fixing this properly (thanks!)

@bnbarham
Copy link
Contributor Author

bnbarham commented May 9, 2023

@swift-ci please test Windows platform

@bnbarham bnbarham merged commit a0ae8ee into swiftlang:main May 12, 2023
@bnbarham bnbarham deleted the 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