This repository was archived by the owner on Jan 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change
1
+ # 1.2.3
2
+
3
+ * Addressed three strong mode warnings.
4
+
1
5
# 1.2.2
2
6
3
7
* Make the package analyze under strong mode and compile with the DDC (Dart Dev
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ abstract class VersionConstraint {
114
114
var compatibleWith = matchCompatibleWith ();
115
115
if (compatibleWith != null ) return compatibleWith;
116
116
117
- var constraints = [];
117
+ var constraints = < VersionConstraint > [];
118
118
119
119
while (true ) {
120
120
skipWhitespace ();
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ class VersionUnion implements VersionConstraint {
59
59
60
60
(flattened as List ).sort (compareMax);
61
61
62
- var merged = [];
62
+ var merged = < VersionRange > [];
63
63
for (var constraint in flattened) {
64
64
// Merge this constraint with the previous one, but only if they touch.
65
65
if (merged.isEmpty ||
@@ -132,7 +132,7 @@ class VersionUnion implements VersionConstraint {
132
132
133
133
// Because both lists of constraints are ordered by minimum version, we can
134
134
// safely move through them linearly here.
135
- var newConstraints = [];
135
+ var newConstraints = < VersionRange > [];
136
136
ourConstraints.moveNext ();
137
137
theirConstraints.moveNext ();
138
138
while (ourConstraints.current != null && theirConstraints.current != null ) {
Original file line number Diff line number Diff line change 1
1
name : pub_semver
2
- version : 1.2.2
2
+ version : 1.2.3
3
3
author :
Dart Team <[email protected] >
4
4
description : >
5
5
Versions and version constraints implementing pub's versioning policy. This
You can’t perform that action at this time.
0 commit comments