Skip to content

Add Check to Detect Overwritten Files #762

@InsertCreativityHere

Description

@InsertCreativityHere

We should add a check to slicec which keeps track of which paths it's written generated code to.
And if a single path would be written to more than once (in a single compilation run), we should issue a warning that the file was overwritten.

This could happen for a variety of reasons, and it's simpler for slicec to handle it, then asking each code-generator to include this check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    slicecRelated to the 'slicec' crate

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions