Skip to content

Wrong types reported in some let binding type errors #546

Closed
@msullivan

Description

@msullivan

Trying to compile the program
fn main() {
auto b = "hi";
let int i = b;
}

Results in the error:
error: mismatched types: expected str but found str (types differ)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions