Skip to content

Move annotations to User_message.t#5075

Merged
3 commits merged intomainfrom
unknown repository
Nov 2, 2021
Merged

Move annotations to User_message.t#5075
3 commits merged intomainfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Nov 2, 2021

As pointed out by @snowleopard in another PR, it's more natural this way.

Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
@ghost ghost requested review from rgrinberg and snowleopard November 2, 2021 14:56
Copy link
Copy Markdown
Collaborator

@snowleopard snowleopard left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for doing this!

@ghost ghost merged commit 82386a1 into ocaml:main Nov 2, 2021
snowleopard added a commit that referenced this pull request Nov 2, 2021
Thanks to #5075 and #5047, we can now easily provide more information for some library
resolution errors. I think it's pretty helpful to tell the user why the problematic library was required.
In fact, in one of the tests, this was suggested as a future improvement.

We could only do this for a subset of errors in this module, but after studying the new error
messages, I think all of them got better.

Signed-off-by: Andrey Mokhov <amokhov@janestreet.com>
This pull request was closed.
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