gir2swift
gir2swift copied to clipboard
gir2swift creates duplicate labels for some (template) methods
When compiling SwiftGtk, numerous labels show up as unnecessary duplicates, e.g.:
Gtk-3.0-PadControllerClass-RadioActionClass.swift:1821:53: warning: extraneous duplicate parameter name; 'keyFile' already has an argument label
@inlinable init<KeyFileT: GLib.KeyFileProtocol>(keyFile keyFile: KeyFileT, groupName: UnsafePointer<gchar>? = nil) throws {
^~~~~~~~
Gtk-3.0-PadControllerClass-RadioActionClass.swift:1865:68: warning: extraneous duplicate parameter name; 'keyFile' already has an argument label
@inlinable static func newFrom<KeyFileT: GLib.KeyFileProtocol>(keyFile keyFile: KeyFileT, groupName: UnsafePointer<gchar>? = nil) throws -> PaperSizeRef! {
^~~~~~~~
Gtk-3.0-ScaleAccessible-Table.swift:35495:21: warning: extraneous duplicate parameter name; 'iconName' already has an argument label
@inlinable init(iconName iconName: UnsafePointer<gchar>!) {
^~~~~~~~~
Gtk-3.0-IMContextSimple-Label.swift:6430:21: warning: extraneous duplicate parameter name; 'iconName' already has an argument label
@inlinable init(iconName iconName: UnsafePointer<gchar>? = nil, size: GtkIconSize) {
^~~~~~~~~
Gtk-3.0-IMContextSimple-Label.swift:6450:48: warning: extraneous duplicate parameter name; 'iconSet' already has an argument label
@inlinable init<IconSetT: IconSetProtocol>(iconSet iconSet: IconSetT, size: GtkIconSize) {
^~~~~~~~