Skip to content

Commit b396bd0

Browse files
[stdlib] Add explict import to ReflectionTest to avoid name conflicts in stdlib and Darwin (#81953)
Similar to #77155 , we disambiguate stdin, stdout, and stderr now. Signed-off-by: Peter Rong <[email protected]>
1 parent b00a561 commit b396bd0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stdlib/private/SwiftReflectionTest/SwiftReflectionTest.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ let RequestPointerSize = "p"
3232
internal import MachO
3333
internal import Darwin
3434
internal import var Darwin.errno
35+
internal import var Darwin.stdout
36+
internal import var Darwin.stderr
37+
internal import var Darwin.stdin
3538

3639
#if arch(x86_64) || arch(arm64)
3740
typealias MachHeader = mach_header_64

0 commit comments

Comments
 (0)