Avatar
Avatar
omochimetaru
@swift-main import Foundation let task = Task { @MainActor () in print(Thread.current.isMainThread) dispatchPrecondition(condition: .onQueue(.main)) dispatchPrecondition(condition: .notOnQueue(.main)) } await task.value (edited)
swiftNightly BOT 11/22/2023 4:16 AM
exit status: 132 with #0 0x000055e9b7c2d977 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/swift-frontend+0x7852977) #1 0x000055e9b7c2b6ce llvm::sys::RunSignalHandlers() (/usr/bin/swift-frontend+0x78506ce) #2 0x000055e9b7c2dfea SignalHandler(int) Signals.cpp:0:0 (edited)
3.43 KB