-
Notifications
You must be signed in to change notification settings - Fork 8
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
warning 106: add melange.ppx reminder #28
base: master
Are you sure you want to change the base?
Conversation
utils/warnings.ml
Outdated
@@ -1207,7 +1207,7 @@ let message = function | |||
| Bs_fragile_external s -> | |||
s ^ " : the external name is inferred from val name is unsafe from refactoring when changing value name" | |||
| Bs_unimplemented_primitive s -> | |||
"Unimplemented primitive used:" ^ s | |||
"Unimplemented primitive used:" ^ s ^ ", make sure your library is using the `melange.ppx` preprocessor" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make sure you are using melange.ppx
right?
It can be not added in a melange.emit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. Update + included a link to migration docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay here. I think linking to the docs might be a bit too much, especially because we'll forget to change it on every release.
what do you think about using an error message similar to the one we added for unprocessed @mel.*
attributes?
No description provided.