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
I mistakenly specified "lsp" {"1.1.0"} instead of "lsp" {= "1.1.0"} in an opam file for a project. No error was reported by either opam lint or opam install. It would be great if an error was reported, rather than the dependency being ignored silently.
The session below shows that lsp is not installed and that having "lsp" {"1.1.0"} as a dependency is like having nothing instead.
This syntax is allowed as the constrained filter evaluates correctly {"true"}, or {"%{a-var}%"} when a-var is a boolean, it is the default otherwise (here false). But yes, opam should at least warn on this kind of syntax when it is not a bool nor a variable.
I mistakenly specified
"lsp" {"1.1.0"}
instead of"lsp" {= "1.1.0"}
in an opam file for a project. No error was reported by eitheropam lint
oropam install
. It would be great if an error was reported, rather than the dependency being ignored silently.The session below shows that
lsp
is not installed and that having"lsp" {"1.1.0"}
as a dependency is like having nothing instead.The text was updated successfully, but these errors were encountered: