Open asashour opened 2 years ago
We discussed this a bit, and figured out that we probably can't avoid having to use a special character of some sort.
But maybe we can change it to \infinity
based on terminal detection.
Context: We need to write <2.0.0-∞
because the upper-bound comes from >=2.0.0-dev <2.0.0
which means that the <2.0.0
part is not interpreted as <2.0.0-0
which otherwise would (this is done to exclude prereleases).
Thanks for explaining.
As a humble user, I initially understood it as "lower bound is<2.0.0
and upper bound ∞
".
I am also not sure if ∞
is an intuitive representation of 'release versions', as I now possibly understand.
Environment
pub version
orflutter pub version
:2.18.0-98.0.dev
Problem
On trying to play around with Dart SDK versions to get latest linter, I came across a message of
<2.0.0-∞
, which seems to be incorrect, but in another shell it is shown as<2.0.0-∞
does
<2.0.0-∞
make sense? I understand this is as "less than 2", and infinity? I guess<2.0.0
should be enough.Steps:
/pkg/analysis_server/pubspec.yaml
to havelinter: ^0.1.30
pub get
from IntelliJ.Expected behavior
The version should always be visible, in all shells.
Actual behavior
<2.0.0-∞
is shown--trace output
From the
Terminal
, which is using another shell: