Skip to content

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