Skip to content

initialized local var can redeclare formal arg #7

@barneyb

Description

@barneyb

Local var i below should be an error:

fn f(int i) {
  int i = 3;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcompiler

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions