Skip to content

Redundant protocol conformance warnings #9

@rhx

Description

@rhx

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 {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions