We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b72a053 commit a3f3f70Copy full SHA for a3f3f70
test/attr/private_import.swift
@@ -4,6 +4,6 @@
4
5
@_private(sourceFile: "Array.swift") import Swift // expected-error {{module 'Swift' was not compiled for private import}}
6
@_private(sourceFile: "empty.swift") import empty // no-error
7
-@_private(sourceFile: "not_existing_file.swift") import empty // no-error
+@_private(sourceFile: "nonexistent_file.swift") import empty // no-error
8
9
@_private(sourceFile: "none") func foo() {} // expected-error {{@_private may only be used on 'import' declarations}} {{1-31=}}
0 commit comments