[SR-12647] Error in parsing module interface when class have the same name with the framework #55091
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
duplicate
Resolution: Duplicates another issue
swift 5.2
textual interfaces
type checker
Area → compiler: Semantic analysis
TypeResolver
unexpected error
Bug: Unexpected error
Attachment: Download
Environment
xcode 11.4
Additional Detail from JIRA
md5: 68f187714507556e295d5536bfcad851
duplicates:
Issue Description:
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: