Skip to content
New issue

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

Redundant protocol conformance warnings #9

Open
rhx opened this issue Dec 17, 2020 · 0 comments
Open

Redundant protocol conformance warnings #9

rhx opened this issue Dec 17, 2020 · 0 comments

Comments

@rhx
Copy link
Owner

rhx commented Dec 17, 2020

Currently gir2swift just blindly translates .gir file interface implementations into protocol conformances, leading to redundant conformance warnings, e.g.:

Gtk-3.0-TearoffMenuItem-UIManager.swift:25726:128: warning: redundant conformance constraint 'Self': 'TreeModelProtocol'
public protocol TreeStoreProtocol: GLibObject.ObjectProtocol, BuildableProtocol, TreeDragDestProtocol, TreeDragSourceProtocol, TreeModelProtocol, TreeSortableProtocol {
                                                                                                                               ^
Gtk-3.0-TearoffMenuItem-UIManager.swift:25726:147: note: conformance constraint 'Self': 'TreeModelProtocol' implied here
public protocol TreeStoreProtocol: GLibObject.ObjectProtocol, BuildableProtocol, TreeDragDestProtocol, TreeDragSourceProtocol, TreeModelProtocol, TreeSortableProtocol {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant