We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attachment: Download
Xcode Version 10.1 (10B61)
Swift 4.2 (stable release)
macOS 10.14.3 (18D109)
md5: b19ebf8bd19dd16ce0553492b7aebf67
Issue Description:
My project is composed by two frameworks, A and B. Framework B is dependent from A and uses several functions/structures for its operations.
In framework A I've used caseless enum (but it's the same with a void non-instantiable structs) as like a namespace grouping.
public enum Models { }
Then
public extension Models { public class ModelInA { ... } }
Everything works fine. Now I would to replicate the same stuff in framework B with. So:
import FrameworkA public extension Models { public class ModelInB { ... } }
Now If I try to debug and inspect an instance of ModelInB I get this error: Could not resolve type. Even more the debugger inspector row its empty.
I've tried to declare a new caseless enum in Framework B and use it to group ModelInB: as expected it works fine.
Attached screenshots demostrate the results in both cases:
The text was updated successfully, but these errors were encountered:
cc @dcci
Sorry, something went wrong.
I cannot reproduce on a recently built swift + lldb. Do you have a test case you can share where this reproduces?
Comment by daniele margutti (JIRA)
Attached you can found an example project.
Try to run the demo app target inside frameworkB.
Here is the result, as you can see Car (framework B) is empty while I can see People (in framework A).
Test.zip
No branches or pull requests
Attachment: Download
Environment
Xcode Version 10.1 (10B61)
Swift 4.2 (stable release)
macOS 10.14.3 (18D109)
Additional Detail from JIRA
md5: b19ebf8bd19dd16ce0553492b7aebf67
Issue Description:
My project is composed by two frameworks, A and B.
Framework B is dependent from A and uses several functions/structures for its operations.
In framework A I've used caseless enum (but it's the same with a void non-instantiable structs) as like a namespace grouping.
Then
Everything works fine.
Now I would to replicate the same stuff in framework B with. So:
Now If I try to debug and inspect an instance of ModelInB I get this error: Could not resolve type. Even more the debugger inspector row its empty.
I've tried to declare a new caseless enum in Framework B and use it to group ModelInB: as expected it works fine.
Attached screenshots demostrate the results in both cases:
The text was updated successfully, but these errors were encountered: