Skip to content

Conversation

@xedin
Copy link
Contributor

@xedin xedin commented Dec 13, 2025

…property wrapped variables

Fixes a double-contextualization that results in an assert because properties with property wrappers have the same initializer in two places - original property (which becomes computed) and backing storage property - that's where the initializer is copied.

Contextualization of the fully type-checked initializer should happen as part of backing storage property processing by the declaration checker.

Resolves: rdar://163562182

…property wrapped variables

Fixes a double-contextualization that results in an assert because
properties with property wrappers have the same initializer in two
places - original property (which becomes computed) and backing
storage property - that's where the initializer is copied.

Contextualization of the fully type-checked initializer should happen
as part of backing storage property processing by the declaration
checker.

Resolves: rdar://163562182
@xedin
Copy link
Contributor Author

xedin commented Dec 13, 2025

cc @weissi

@xedin
Copy link
Contributor Author

xedin commented Dec 13, 2025

@swift-ci please build toolchain Linux platform

@xedin
Copy link
Contributor Author

xedin commented Dec 13, 2025

@swift-ci please test

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.

1 participant