Skip to content

Conversation

OskarPersson
Copy link

No description provided.

Copy link
Owner

@kaj kaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm ... If there two files with the same name in different subdirectories, there will be two constants with the same name in the generated statics modue, yielding a confusing compile error message.

Maybe the constant names should be prefixed with the subdirectory names? Or maybe we should just add a warning about it in the documentation of fn add_files(...)?

@OskarPersson
Copy link
Author

Oh yeah you’re right. I think a prefix would be best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants