Skip to content

Attributes on binder don't apply to a group #3681

@mtzguido

Description

@mtzguido

In this snippet

let f ([@@@"attr"] x y : int) = 1

the attribute is only on x. This looks confusing to me, is it intended? One can add the attribute to both binders like this:

let f ([@@@"attr"] x [@@@"attr"] y : int) = 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions