mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If given a SourceFile, only decls within that SourceFile will be serialized. Decls within other SourceFiles are emitted using cross-references that refer to the current module. Known issues: - External definitions won't be serialized by any source file. They probably have to be serialized into /all/ of them. - Nothing can actually /read/ a serialized partial-module yet. We need a notion of a TranslationUnit that can contain both source and serialized files, and we probably need loading to be more lazy. Swift SVN r9978
7 lines
144 B
Swift
7 lines
144 B
Swift
// Do not put any classes in this file. It's part of the test that no classes
|
|
// get serialized here.
|
|
|
|
enum TheEnum {
|
|
case A, B, C(MyClass)
|
|
}
|