Thomas Van Lenten b83e38c8f7 Now that 5.10 is the baseline, remove some old bits/refs. (#1788) 10 ay önce
..
Sources b83e38c8f7 Now that 5.10 is the baseline, remove some old bits/refs. (#1788) 10 ay önce
Package.swift 881a54955d Split the Package.swift files for CompileTests. (#1743) 1 yıl önce
Package@swift-5.10.swift b83e38c8f7 Now that 5.10 is the baseline, remove some old bits/refs. (#1788) 10 ay önce
README.md e9def03b94 Add CompileTests for InternalImportsByDefault (#1709) 1 yıl önce

README.md

CompileTests/InternalImportsByDefault

This is a test case that ensures that generated code builds correctly when InternalImportsByDefault is enabled and the code is generated with public visibility.

When support for access level modifiers on imports was first added, an issue was encountered where publicly-generated protos would generate build errors and warnings when InternalImportsByDefault was enabled, as some dependencies were imported without an explicit access level modifier (i.e. Foundation), and some where sometimes imported as public without actually being used in the generated code at all (i.e. Foundation and SwiftProtobuf).