Skip to content

Conversation

@gottesmm
Copy link
Contributor

Specifically:

  1. Classes. We allow for access to Sendable let fields.
  2. Structs. We allow for access to Sendable let/var fields.
  3. Tuples. We allow for access to Sendable let/var fields.

I am going to finish enums in a subsequent PR since I found that I need to mark a bunch more instructions as look through to get that to work (e.x.: load/load_borrow need to be viewed as a cast from address -> object so that we can emit errors on the uses of the load instead of the load itself). These are more invasive so I want to do it a little later.

rdar://115124361

…ess concurrently.

Specifically:

1. Classes. We allow for access to Sendable let fields.
2. Structs. We allow for access to Sendable let/var fields.
3. Tuples. We allow for access to Sendable let/var fields.

I am going to finish enums in a subsequent PR since I found that I need to mark
a bunch more instructions as look through to get that to work (e.x.:
load/load_borrow need to be viewed as a cast from address -> object so that we
can emit errors on the uses of the load instead of the load itself). These are
more invasive so I want to do it a little later.

rdar://115124361
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test

@gottesmm
Copy link
Contributor Author

We are going to do post-commit review on this as well. I am doing this since I am hoping to get this into a toolchain for people to try over the holidays.

@gottesmm gottesmm merged commit c248b95 into swiftlang:main Nov 17, 2023
@gottesmm gottesmm deleted the pr-d97426e35a99d98bd9cb4a751cede10ba6a2336e branch November 17, 2023 02:55
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