Skip to content

Better error when main is not defined #626

@brson

Description

@brson

When a main function is not defined we end up failing at link time with an error from ld. We could be failing much earlier with a simpler error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)E-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