Skip to content

[rs2bril] Duplicate variable names with different types compiled incorrectly. #341

@oflatt

Description

@oflatt

Rust files that re-use a name with a different type cause the rs2bril compiler to generate ill-typed bril.

Example:

fn main() {
  let x: f64 = 2.0;
  let x: i64 = 2;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions