Skip to content

関数の仮引数を同じ名前で複数定義できてしまう #860

Open
@takejohn

Description

@takejohn

関数の仮引数を同じ名前で複数定義しても文法エラーにならず、実行してもエラーが発生しない

@f(a, a) {
    a
}

<: f(1, 2) // => 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions