mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I'm not sure why this didn't occur to me in 8282160d: of course if you
see a generic type with arguments, you need to see the @interface for
that type in order to supply the arguments. Maybe I was thinking the
generated interface would automatically import anything the module
itself imports, but that hasn't ever been true.
rdar://problem/28738008
35 lines
653 B
Plaintext
35 lines
653 B
Plaintext
module Base {
|
|
module ImplicitSub {
|
|
header "Base.ImplicitSub.h"
|
|
module ImSub {
|
|
header "Base.ImplicitSub.ImSub.h"
|
|
}
|
|
explicit module ExSub {
|
|
header "Base.ImplicitSub.ExSub.h"
|
|
}
|
|
}
|
|
explicit module ExplicitSub {
|
|
header "Base.ExplicitSub.h"
|
|
module ImSub {
|
|
header "Base.ExplicitSub.ImSub.h"
|
|
}
|
|
explicit module ExSub {
|
|
header "Base.ExplicitSub.ExSub.h"
|
|
}
|
|
}
|
|
}
|
|
|
|
module SingleGenericClass {
|
|
header "SingleGenericClass.h"
|
|
export *
|
|
}
|
|
|
|
module OverrideBase [system] {
|
|
header "override.h"
|
|
export *
|
|
}
|
|
|
|
module OtherModule {
|
|
// Deliberately empty. Used by depends-on-swift-framework.swift.
|
|
}
|