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

test(lib-collision): show dune uses the relevant loc for collision errors #10463

Merged

Conversation

anmonteiro
Copy link
Collaborator

No description provided.

…rors

Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
File "dune", line 5, characters 7-10:
5 | (name foo)
^^^
Error: Library "foo" appears for the second time in this 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.

uses the relevant library for the error message, which in this case is foo (the colliding one.)

@anmonteiro anmonteiro enabled auto-merge (squash) April 30, 2024 15:36
@anmonteiro anmonteiro merged commit 69a24a4 into ocaml:main Apr 30, 2024
1 of 2 checks passed
@anmonteiro anmonteiro deleted the anmonteiro/relevant-library-name-used-in-locs branch April 30, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants