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

Disallow public/private overlap #607

Merged
merged 7 commits into from
Mar 12, 2018

Conversation

rgrinberg
Copy link
Member

@rgrinberg rgrinberg commented Mar 12, 2018

ok @diml, the flag approach works well here. The only issue is that I don't know how to retrieve the name of the public dependency that's requiring the private dependency in the error message.

Flag to guard public dependencies from acquiring private ones
Those will go in their own test
@rgrinberg rgrinberg requested a review from a user March 12, 2018 17:03
@rgrinberg rgrinberg mentioned this pull request Mar 12, 2018
@rgrinberg rgrinberg force-pushed the private-public-overlap-take2 branch from 10a01b9 to 753badd Compare March 12, 2018 17:11
@ghost
Copy link

ghost commented Mar 12, 2018

Looks good. I pushed a couple of minor changes. BTW the locations looks wrong in the tests, there must be a problem somewhere. It's not specific to this PR though.

@ghost
Copy link

ghost commented Mar 12, 2018

The location issue was fixed in #609

@rgrinberg rgrinberg merged commit 12511a6 into ocaml:master Mar 12, 2018
@rgrinberg rgrinberg deleted the private-public-overlap-take2 branch March 12, 2018 20:40
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.

1 participant