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(melange): incorrect path when public lib depends on private lib #7652

Merged
merged 1 commit into from
May 4, 2023

Conversation

anmonteiro
Copy link
Collaborator

  • This is the first "missing test case" from Missing melange tests #7164
  • it uncovers a path resolution bug when a public library (which gets installed into node_modules) depends on a private library.

I think this should be fine for installed libraries (I'll add a test too), but it's currently broken for libraries in the workspace.

@anmonteiro anmonteiro marked this pull request as ready for review April 27, 2023 20:22
@anmonteiro anmonteiro force-pushed the anmonteiro/test-private branch from 23dc067 to 33dae34 Compare April 27, 2023 20:22
@anmonteiro anmonteiro requested a review from jchavarri April 27, 2023 20:36
> EOF

$ dune build @melange --display=short
melc priv/.priv.objs/melange/priv.{cmi,cmj,cmt}
Copy link
Member

Choose a reason for hiding this comment

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

Anything in particular that we need to see from this output?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I removed --display=short

@anmonteiro anmonteiro force-pushed the anmonteiro/test-private branch from 33dae34 to 168bc21 Compare May 4, 2023 17:50
@anmonteiro anmonteiro force-pushed the anmonteiro/test-private branch from 168bc21 to 271f5fd Compare May 4, 2023 18:08
@anmonteiro anmonteiro merged commit 239e6ac into ocaml:main May 4, 2023
@anmonteiro anmonteiro deleted the anmonteiro/test-private branch May 4, 2023 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants