Skip to content

ICE with multiple fails #3822

Closed
Closed
@14427

Description

@14427

The compiler correctly warns that the second fail is unreachable, then an ICE occurs

fn main() {
    fail ~"One";
    fail ~"Two";
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions