Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ public struct SwiftFunctionSignature: Equatable {
}

public var isImplicitlyAsync: Bool {
!isAsync && selfParameter?.selfType.isActor == true
guard !isAsync, case .instance(_, let selfType) = selfParameter else {
Comment thread
AbdAlRahmanGad marked this conversation as resolved.
Outdated
return false
}
return selfType.isActor
}

public var isThrowing: Bool {
Expand Down
1 change: 0 additions & 1 deletion Tests/SwiftExtractTests/AnalysisResultTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,6 @@ struct AnalysisResultSuite {
#expect(count.isClass)
}


// ==== -----------------------------------------------------------------------
// MARK: Actor members are extracted
@Test func actorMembersAreExtracted() throws {
Expand Down
Loading