Skip to content

Commit fbf0f5a

Browse files
committed
[OSLog] Add missing imports for implicit uses of NSObject
1 parent ed88700 commit fbf0f5a

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

stdlib/private/OSLog/OSLogFloatingPointTypes.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
//
2121
// "\(x, format: .fixed(precision: 10), privacy: .private\)"
2222

23+
import ObjectiveC
24+
2325
extension OSLogInterpolation {
2426

2527
/// Defines interpolation for expressions of type Float.

stdlib/private/OSLog/OSLogIntegerTypes.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
// 1. "\(x, format: .hex, privacy: .private, align: .right\)"
2323
// 2. "\(x, format: .hex(minDigits: 10), align: .right(columns: 10)\)"
2424

25+
import ObjectiveC
26+
2527
extension OSLogInterpolation {
2628

2729
/// Defines interpolation for expressions of type Int.

stdlib/private/OSLog/OSLogStringTypes.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
// 1. "\(x, privacy: .private, align: .right\)"
2323
// 2. "\(x, align: .right(columns: 10)\)"
2424

25+
import ObjectiveC
26+
2527
extension OSLogInterpolation {
2628

2729
/// Defines interpolation for expressions of type String.

0 commit comments

Comments
 (0)