Skip to content

Commit

Permalink
Drop implementation of retype (#42)
Browse files Browse the repository at this point in the history
Technically it's possible that there exists a reference using `PathSet`
and calling `retype` but the liklihood is very small and since we're in
the `-dev` versions of the SDK it's not worth marking this a breaking
change.
  • Loading branch information
natebosch committed Jun 13, 2018
1 parent d509a27 commit 9396db7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.6.1

* Drop the `retype` implementation for compatibility with the latest SDK.

## 1.6.0

* Add a `PathMap` class that uses path equality for its keys.
Expand Down
2 changes: 0 additions & 2 deletions lib/src/path_set.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ class PathSet extends IterableBase<String> implements Set<String> {

void retainAll(Iterable<Object> elements) => _inner.retainAll(elements);

Set<T> retype<T>() => _inner.retype<T>();

void retainWhere(bool test(String element)) => _inner.retainWhere(test);

Set<String> union(Set<String> other) => _inner.union(other);
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: path
version: 1.6.0
version: 1.6.1
author: Dart Team <misc@dartlang.org>
description: >
A string-based path manipulation library. All of the path operations you know
Expand All @@ -9,4 +9,4 @@ homepage: http://github.com/dart-lang/path
dev_dependencies:
test: ">=0.12.0 <0.13.0"
environment:
sdk: ">=2.0.0-dev.35.0 <2.0.0"
sdk: ">=2.0.0-dev.62.0 <2.0.0"

0 comments on commit 9396db7

Please sign in to comment.