diff --git a/Sources/Tracing/TracerProtocol+Legacy.swift b/Sources/Tracing/TracerProtocol+Legacy.swift index 2424e32..79b61b1 100644 --- a/Sources/Tracing/TracerProtocol+Legacy.swift +++ b/Sources/Tracing/TracerProtocol+Legacy.swift @@ -404,7 +404,7 @@ extension LegacyTracer { _ operationName: String, context: @autoclosure () -> ServiceContext = .current ?? .topLevel, ofKind kind: SpanKind = .internal, - isolation: (any Actor)? = #isolation, + isolation: isolated (any Actor)? = #isolation, function: String = #function, file fileID: String = #fileID, line: UInt = #line, @@ -610,7 +610,7 @@ extension Tracer { at instant: @autoclosure () -> some TracerInstant = DefaultTracerClock.now, context: @autoclosure () -> ServiceContext = .current ?? .topLevel, ofKind kind: SpanKind = .internal, - isolation: (any Actor)? = #isolation, + isolation: isolated (any Actor)? = #isolation, function: String = #function, file fileID: String = #fileID, line: UInt = #line, diff --git a/Sources/Tracing/TracerProtocol.swift b/Sources/Tracing/TracerProtocol.swift index e034d25..ad71791 100644 --- a/Sources/Tracing/TracerProtocol.swift +++ b/Sources/Tracing/TracerProtocol.swift @@ -263,7 +263,7 @@ extension Tracer { _ operationName: String, context: @autoclosure () -> ServiceContext = .current ?? .topLevel, ofKind kind: SpanKind = .internal, - isolation: (any Actor)? = #isolation, + isolation: isolated (any Actor)? = #isolation, function: String = #function, file fileID: String = #fileID, line: UInt = #line, @@ -353,7 +353,7 @@ extension Tracer { context: @autoclosure () -> ServiceContext = .current ?? .topLevel, ofKind kind: SpanKind = .internal, at instant: @autoclosure () -> some TracerInstant = DefaultTracerClock.now, - isolation: (any Actor)? = #isolation, + isolation: isolated (any Actor)? = #isolation, function: String = #function, file fileID: String = #fileID, line: UInt = #line,