[SR-12646] Ambiguous type name error in Module Interface #55090
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
swift 5.3
textual interfaces
type checker
Area → compiler: Semantic analysis
TypeResolver
unexpected error
Bug: Unexpected error
Attachment: Download
Environment
Test on xcode 11.4 and Swift toolchain snapshot 2020-04-19
Additional Detail from JIRA
md5: 61fa54ea5c7a0723325eb34c5b8b74da
Issue Description:
Problem
The generated module interface file below will got an error when parsed by xcode.
("A" is the name of the framework)
Source code
Steps to Reproduce
build a framework with the source above, with "Build Libraries for Distribution" enabled
delete the .swiftinterface files in the framework
add the generated framework to another project, import and build
Why Important
The module interface cannot be used , which means module stability never achieve its goal.
The text was updated successfully, but these errors were encountered: