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

lint: confusing phrasing of warning 47 #3738

Closed
Armael opened this issue Jan 31, 2019 · 1 comment · Fixed by #3753
Closed

lint: confusing phrasing of warning 47 #3738

Armael opened this issue Jan 31, 2019 · 1 comment · Fixed by #3753
Milestone

Comments

@Armael
Copy link
Member

Armael commented Jan 31, 2019

By mistake I confused synopsis (short description) and description (long description), and wrote an opam file which only contained a description field (while it should have been synopsis). opam lint gave me the following warning:

warning 47: Synopsis should start with a capital and not end with a dot

which is fairly confusing, since there was no synopsis! It took me some time to find what the real issue was.

@rjbou
Copy link
Collaborator

rjbou commented Feb 1, 2019

An heritage from opam1.2, the descr file composition (1st line synopsis, rest description), opam2 description field have the same syntax.
Thanks for reporting.

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 a pull request may close this issue.

2 participants