Skip to content

Unreachable outer expressions should warn #1889

Closed
@jruderman

Description

@jruderman
fn bye() -> ! { fail }

fn warns() { bye(); log(error, 3); }

fn does_not_warn() { log(error, bye()); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-type-systemArea: Type systemC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions