Skip to content

Commit

Permalink
Stop using Maps class before it is deleted. (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
srawlins authored and nshahan committed Mar 7, 2018
1 parent df4d860 commit 0bee9d9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.21.1+1-dev

* Remove use of `Maps`, for better compatibility with Dart 2.

## 0.21.1

* Updated one test to comply with Dart 2 voidness semantics.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/observable_map.dart
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class ObservableMap<K, V> extends Observable implements Map<K, V> {
void forEach(void f(K key, V value)) => _map.forEach(f);

@override
String toString() => Maps.mapToString(this);
String toString() => MapBase.mapToString(this);

@override
// TODO: Dart 2.0 requires this method to be implemented.
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: observable
version: 0.21.1
version: 0.21.1+1-dev
author: Dart Team <misc@dartlang.org>
description: Support for marking objects as observable
homepage: https://github.com/dart-lang/observable
Expand Down

0 comments on commit 0bee9d9

Please sign in to comment.