Skip to content

Commit 92933a1

Browse files
authored
Merge pull request #36297 from apple/ktoso-patch-3
[Concurrency] remove Task.hasTaskLocalValues, they all do
2 parents 4e55f43 + 0ec038c commit 92933a1

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

stdlib/public/Concurrency/Task.swift

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -336,21 +336,6 @@ extension Task {
336336
}
337337
}
338338

339-
/// Whether this (or its parents) have task local values.
340-
var hasLocalValues: Bool {
341-
get {
342-
(bits & (1 << 27)) != 0
343-
}
344-
345-
set {
346-
if newValue {
347-
bits = bits | 1 << 27
348-
} else {
349-
bits = (bits & ~(1 << 27))
350-
}
351-
}
352-
}
353-
354339
}
355340
}
356341

0 commit comments

Comments
 (0)