Skip to content

Implement fail as a macro/library function #2232

Closed
@brson

Description

@brson

It will not be difficult to eliminate fail from the language, but there are some considerations: a) it has to work with or without an argument (we could just have two); b) in the future it will probably need to accept any sendable type argument, not just a string; c) it has to report the correct location of the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationA-grammarArea: The grammar of RustA-type-systemArea: Type systemE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions