Skip to content

Don't warn about unreferenced function arguments when implementing a protocol #384

Description

@giann
protocol Drawable {
    mut fun draw(rect: Rect) > void;
}

object<Drawable> Panel {
    mut fun draw(rect: Rect) > void { ... } // Should not warn about `rect` not being used
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    compilerIssue related to the compiler

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions