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
macOS 10.15.4, Xcode 11.5.0
md5: 143f3c31f5a811bbf4bdd3dd195b1e60
Issue Description:
Related to https://bugs.swift.org/browse/SR-805 but Objective-C++ is not directly involved.
In a Swift package (ZKDrawerController) that I am using, there is the following line:
open class ZKDrawerController: UIViewController, ZKDrawerControllerDelegate {
Then, I extend the class (after importing the package with import ZKDrawerController) using this line (which ends up being two since it's so long):
import ZKDrawerController
public class ReviewContainerViewController: ZKDrawerController, ReviewControllerDelegate, ReviewMenuDelegate {
However, when compiling, the following error occurs in the generated header, a file "included from" an Objective-C++ file:
Cannot find interface declaration for 'ZKDrawerController', superclass of 'ReviewContainerViewController'
Since it ultimately derives from UIViewController, I can't mark it private (since I need to use it in other files) nor can I mark it @nonobjc.
@nonobjc
Removing Objective-C++ from the project in any way, or not including the generated header in it removes the issue.
The text was updated successfully, but these errors were encountered:
Comment by Matthew Benedict (JIRA)
@swift-ci create
Sorry, something went wrong.
No branches or pull requests
Attachment: Download
Environment
macOS 10.15.4, Xcode 11.5.0
Additional Detail from JIRA
md5: 143f3c31f5a811bbf4bdd3dd195b1e60
Issue Description:
Related to https://bugs.swift.org/browse/SR-805 but Objective-C++ is not directly involved.
In a Swift package (ZKDrawerController) that I am using, there is the following line:
open class ZKDrawerController: UIViewController, ZKDrawerControllerDelegate {
Then, I extend the class (after importing the package with
import ZKDrawerController
) using this line (which ends up being two since it's so long):public class ReviewContainerViewController: ZKDrawerController, ReviewControllerDelegate, ReviewMenuDelegate {
However, when compiling, the following error occurs in the generated header, a file "included from" an Objective-C++ file:
Since it ultimately derives from UIViewController, I can't mark it private (since I need to use it in other files) nor can I mark it
@nonobjc
.Removing Objective-C++ from the project in any way, or not including the generated header in it removes the issue.
The text was updated successfully, but these errors were encountered: