Lincoln Wu

Results 2 issues of Lincoln Wu

### Description The following code compiles without warnings. ```swift nonisolated func f() async -> Int { var value = 0 let task1 = Task { @MainActor in for _ in...

bug
concurrency

### Description I've posted a related feedback on the forum, please check this: https://forums.swift.org/t/a-concurrency-safety-hole-related-to-global-actor-isolated-methods/78803. ### Reproduction ```swift class A { func a() async { await b() //

bug
concurrency