Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable -Werror for sample app #247

Merged
merged 1 commit into from
Oct 12, 2023
Merged

Enable -Werror for sample app #247

merged 1 commit into from
Oct 12, 2023

Conversation

drewhamilton
Copy link
Collaborator

This ensures that any warnings produced by Paraphrase—which consumers cannot address—will fail the build.

I can't currently add it to tests because when we produce a Nothing? parameter, that parameter is unused. I'm not sure we want to suppress this, because Nothing? parameters indicate a likely mistake: The consumer has marked an argument as a date/time, but included only literal characters in the pattern.

More generally it's plausible that Paraphrase wants to generate warnings intentionally in some cases, so probably sample is the best place for this.

This ensures that any warnings produced by Paraphrase—which consumers cannot address—will fail the build.
@drewhamilton drewhamilton merged commit 6a87824 into main Oct 12, 2023
3 checks passed
@drewhamilton drewhamilton deleted the drew/sample-werror branch October 12, 2023 00:37
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