Skip to content

Commit 8153cc4

Browse files
committed
Release 5.1.1
1 parent ff81865 commit 8153cc4

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 5.1.1
4+
5+
- Test fix for new analyzer hint.
6+
37
## 5.1.0
48

59
- Allow collections with nullable types, for example `BuiltList<T?>`.

lib/src/list_multimap/built_list_multimap.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ abstract class BuiltListMultimap<K, V> {
7575
_hashCode ??= hashObjects(_map.keys
7676
.map((key) => hash2(key.hashCode, _map[key].hashCode))
7777
.toList(growable: false)
78-
..sort());
78+
..sort());
7979
return _hashCode!;
8080
}
8181

lib/src/map/built_map.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ abstract class BuiltMap<K, V> {
8686
_hashCode ??= hashObjects(_map.keys
8787
.map((key) => hash2(key.hashCode, _map[key].hashCode))
8888
.toList(growable: false)
89-
..sort());
89+
..sort());
9090
return _hashCode!;
9191
}
9292

lib/src/set_multimap/built_set_multimap.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ abstract class BuiltSetMultimap<K, V> {
7575
_hashCode ??= hashObjects(_map.keys
7676
.map((key) => hash2(key.hashCode, _map[key].hashCode))
7777
.toList(growable: false)
78-
..sort());
78+
..sort());
7979
return _hashCode!;
8080
}
8181

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: built_collection
2-
version: 5.1.0
2+
version: 5.1.1
33
description: >
44
Immutable collections based on the SDK collections. Each SDK collection class
55
is split into a new immutable collection class and a corresponding mutable

tool/presubmit

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ set -e
88
dart format $(find bin lib test -name \*.dart 2>/dev/null)
99
dart pub get
1010
dart pub upgrade
11-
# For dart analyze there is no way yet to give a list of files
12-
dartanalyzer \
11+
dart analyze \
1312
--fatal-warnings \
1413
--fatal-infos \
1514
$(find bin lib test -name \*.dart 2>/dev/null)

0 commit comments

Comments
 (0)