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?
to your account
Version 9.2 (9C40b)
Let's say I have an Objective-C TestModule that exports TestModule type (the same name). Now I import it to Swift project and want to use it with the TestModule namespace eg.
TestModule.Foo is a class from TestModule. I can use it without specifying the module namespace so Foo will work, but call to TestModule.Foo results in an error that Foo is not a member of TestModule.
I could import just this type specifying type:
import class TestModule.Foo
and that'd work, except when I just import the whole module
in this case (the most common case I'd say) I don't have a syntax to specify a call to TestModule.Foo properly.
The text was updated successfully, but these errors were encountered:
No branches or pull requests