Details
-
Type:
Bug
-
Status: Reopened
-
Priority:
Medium
-
Resolution: Unresolved
-
Component/s: None
-
Labels:None
-
Environment:
Xcode 8.3.3
Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42)
Description
I have type Magazine declared in two frameworks.
So I get 'Magazine' is ambiguous for type lookup in this context error.
When I add the correct prefix Book.Magazine, I get 'Magazine' is not a member type of 'Book', because there is a type Book as well.
It's not possible to specify the correct namespace, because the compiler is looking for nested class with the same name instead.
Similar issue: https://forums.developer.apple.com/thread/47421
Attachments
Issue Links
- duplicates
-
SR-4801 Name resolution problem for packages with same-named data types
-
- Resolved
-