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
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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