forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid including daml-stdlib and daml-prim twice (digital-asset#4222)
This fixes digital-asset#4114 and cleans up the situation around `data-dependencies` and `dependencies` as described in digital-asset#4218. There is still more work to be done here mostly around ironing out all the edge cases and producing useful error messages instead of silentely doing the wrong thing but I’ll leave that to a separate PR. To test this, I’ve fixed the packaging tests to no longer deduplicate package ids (which means they would return the wrong number if daml-prim ends up in there twice) and I addded a test where we have 3 projects: - `lib` - `a` which depends on `lib` - `b` which depends on `lib` via `dependencies` and 'a' via `data-dependencies`. changelog_begin changelog_end
- Loading branch information
1 parent
830c2c6
commit 40292c2
Showing
4 changed files
with
115 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters