Lincoln Wu

Results 6 comments of Lincoln Wu

> AFAIK, it works as expected. Swift will automatically switch to the appropriate actor. You can test with the following program: The issue is not about where `b` is executed,...

This issue still exists at the moment, hope the fix can make it to Swift 6.2.

Just tested this using the latest release/6.1 snapshot. There's still no diagnostics. Isn't this one a crucial regression? @hborla

Status update after tested against the release/6.1 nightly build. For the second code snippet, now the compiler can emit a error saying "Sending 'value' risks causing data races" But for...

I would argue that in most Swift Concurrency cases, from a developer's view, "a false positive" could be a better option compared to "a false negative". Personally I'd rather choose...

The nightly build can now correctly emit diagnostics for the 2 code snippets in OP. Good work!