You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently package variables are not allowed in the depends, depopts, conflicts or depexts field (see #5455 for the latter). However opam doesn't warn of their uses in these fields which confuses users (see ocaml/opam-repository#25863)
It would be nice to have them trigger a warning during linting.
It would be nice to also mention this in the documentation in the section on package variables. As far as i know, the only mention of it in the documentation is in the description of the depends field
The text was updated successfully, but these errors were encountered:
Note that it is not unreasonable to think that depexts might have more lenient restrictions than depends, since they cannot depend on opam packages or have exclusion conflicts.
Currently package variables are not allowed in the
depends
,depopts
,conflicts
ordepexts
field (see #5455 for the latter). However opam doesn't warn of their uses in these fields which confuses users (see ocaml/opam-repository#25863)It would be nice to have them trigger a warning during linting.
It would be nice to also mention this in the documentation in the section on package variables. As far as i know, the only mention of it in the documentation is in the description of the
depends
fieldThe text was updated successfully, but these errors were encountered: