Skip to content

Conversation

@YaelDillies
Copy link
Collaborator

and turn off warn.sorry

and turn off `warn.sorry`
autoImplicit = false
relaxedAutoImplicit = false
# Switch off warnings generated by `sorry`
warn.sorry = false
Copy link
Collaborator

Choose a reason for hiding this comment

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

would it be easy to keep warn.sorry = true , but only for the ForMathlib directory?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hmm, I don't think so. An alternative would be for the category attribute to suppress sorry warnings, but I am not sure this is possible either

Copy link
Member

Choose a reason for hiding this comment

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

Can it be set per lean_lib? We could move ForMathlib into a top-level FormalConjecturesForMathlib directory with a separate lean_lib target, or maybe it's possible to create the taget without any renaming.

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.

3 participants