Open akrmn opened 1 year ago
This is much trickier than I thought. The problem is that the package id is used in quite a few places for slightly different purposes, so adding the lf version in one place breaks others, and it all feels really hacky. I think a proper solution would need to add proper handling for SDK packages so that they can be addressed by a package id without an lf version while internally having a fully specified package id.
Given a project
dd
which targets LF versionx
(e.g.1.14
) and depends ondaml-script
, and a projectmain
which targets LF versiony
such thaty > x
(e.g.1.15
), also depends ondaml-script
and hasdd
as adata-dependency
, attempting to buildmain
fails with an error likeTo reproduce, place
dd/daml.yaml
,dd/DD.daml
,main/daml.yaml
andmain/Main.daml
(see Files) in the same directory (keeping the structure) and runIt will fail with
Files