Skip to content

Idea: Pass the singleton setup token to main() #1

@gavinwahl

Description

@gavinwahl

Right now, it seems like a program that calls begin_setup() after end_setup() would still compile. Would it be possible to get rid of begin_setup() and just the token as an argument to main? That way there would be no way to get another one after it's been dropped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions