Skip to content

Commit

Permalink
Release 5.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmorgan committed Sep 3, 2021
1 parent ff81865 commit 8153cc4
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 5.1.1

- Test fix for new analyzer hint.

## 5.1.0

- Allow collections with nullable types, for example `BuiltList<T?>`.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/list_multimap/built_list_multimap.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ abstract class BuiltListMultimap<K, V> {
_hashCode ??= hashObjects(_map.keys
.map((key) => hash2(key.hashCode, _map[key].hashCode))
.toList(growable: false)
..sort());
..sort());
return _hashCode!;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/src/map/built_map.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ abstract class BuiltMap<K, V> {
_hashCode ??= hashObjects(_map.keys
.map((key) => hash2(key.hashCode, _map[key].hashCode))
.toList(growable: false)
..sort());
..sort());
return _hashCode!;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/src/set_multimap/built_set_multimap.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ abstract class BuiltSetMultimap<K, V> {
_hashCode ??= hashObjects(_map.keys
.map((key) => hash2(key.hashCode, _map[key].hashCode))
.toList(growable: false)
..sort());
..sort());
return _hashCode!;
}

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: built_collection
version: 5.1.0
version: 5.1.1
description: >
Immutable collections based on the SDK collections. Each SDK collection class
is split into a new immutable collection class and a corresponding mutable
Expand Down
3 changes: 1 addition & 2 deletions tool/presubmit
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ set -e
dart format $(find bin lib test -name \*.dart 2>/dev/null)
dart pub get
dart pub upgrade
# For dart analyze there is no way yet to give a list of files
dartanalyzer \
dart analyze \
--fatal-warnings \
--fatal-infos \
$(find bin lib test -name \*.dart 2>/dev/null)
Expand Down

0 comments on commit 8153cc4

Please sign in to comment.