mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
4 lines
544 B
Swift
4 lines
544 B
Swift
// {"kind":"typecheck","signature":"swift::adjustFunctionTypeForConcurrency(swift::AnyFunctionType*, swift::ValueDecl*, swift::DeclContext*, unsigned int, bool, llvm::function_ref<swift::Type (swift::AbstractClosureExpr const*)>, llvm::function_ref<bool (swift::ClosureExpr const*)>, llvm::function_ref<swift::Type (swift::Type)>)","signatureAssert":"Assertion failed: (fnType->getIsolation().isNonIsolated()), function adjustFunctionTypeForConcurrency"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
actor a func b(isolated a...) b
|