[SR-8353] Public extensions of shared types in a framework are visible without importing it #50881
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
duplicate
Resolution: Duplicates another issue
extension
Feature → declarations: `extension` declarations
multiple modules
Flag: An issue whose reproduction requires multiple modules
name lookup
Area → compiler → type checker: Name lookup
swift 5.8
unexpected behavior
Bug: Unexpected behavior or incorrect output
Additional Detail from JIRA
md5: c77119319b6f089af96d450dddf89e34
duplicates:
Issue Description:
Framework
A
:Main:
I am not sure if this is intended, but we found this out after two frameworks defined extensions with the same name in our tool. This led to an ambiguous use compilation error even though only one of the frameworks was being imported.
The text was updated successfully, but these errors were encountered: