mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 00:10:31 +03:00
1d8166b1b2
Now reporting an error if we can't find a package that satisfies the constraints. The version number field can still be a string (as it used to be) but will give a deprecation warning - and the old style version string wasn't used anyway. Version constraints can have an upper and/or lower bound, which can be inclusive or not.
190 B
190 B
Uncaught error: Can't find package foo (>= 0.4 < 0.5)
Uncaught error: Can't find package baz (any)
Warning: Deprecation warning: version numbers must now be of the form x.y.z
Uncaught error: Can't find package baz (any)
Warning: Deprecation warning: version numbers must now be of the form x.y.z