[SR-13470] Misleading error message when two modules define the same property wrapper type #55912
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
property wrappers
Feature: property wrappers
type checker
Area → compiler: Semantic analysis
Environment
Additional Detail from JIRA
md5: c00c259a296359cbc996c3803bea28e2
Issue Description:
I'm experimenting with offering an
@ObservedObject
implementation in my module for use outside of SwiftUI. However, when both my module and SwiftUI are imported in the same file, this misleading error message is produced:It's still possible to use the module name to disambiguate, but the existing diagnostic is misleading.
The text was updated successfully, but these errors were encountered: