Files
swift-mirror/test/Inputs/custom-modules/module.map
Slava Pestov 8df0d8ea63 ASTDemangler: Fix import-as-member types
When an enum is imported as an error, the imported type itself becomes
a nested type 'Code' of its wrapper type, so you get a type like
'MyError.Code'. However in the mangling grammar the type is a
child of a module and not another type.

This was tripping up TypeDecoder, which would check parent types for
validity and throw out the demangling since it looked invalid.

However since this case really is valid, just skip the whole parent
type mess when the type is imported and non-generic.
2019-01-25 21:44:02 -05:00

8 lines
109 B
Plaintext

module ObjCRuntimeVisible {
header "ObjCRuntimeVisible.h"
}
module ErrorEnums {
header "ErrorEnums.h"
}