Skip to content

Move most instructions to expressions #10

@samsa1

Description

@samsa1

Currently many things that are considered instructions could be put in the instructions such as returns.

Currently the user cannot write :

fn my_fun(b : bool) -> i32 {
    if b {
       return 1
    };
    expr
}

This modification will impact the type inferencer!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions