Skip to content

Eliminate the distinction between statements and tail expressions #3058

Closed
@brson

Description

@brson

I don't see an issue open for this. It's on the roadmap.

Making ignored values an error (#2974) helps because then we can assume that type of the final statement is intended to be used. Then the semi-colon can be optional, as are other trailing seperators.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)A-type-systemArea: Type systemC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions