Merge pull request #19 from srawlins/fix-runtime
Fix runtime cast issue
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1768bab..3c5854c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.1.6
+
+* Improve support for Dart 2 runtime semantics.
+
## 1.1.5
* Declare support for `async` 2.0.0.
diff --git a/lib/src/ast.dart b/lib/src/ast.dart
index 130342e..809d4bc 100644
--- a/lib/src/ast.dart
+++ b/lib/src/ast.dart
@@ -147,7 +147,7 @@
var text = literal.text;
if (context.style == p.Style.windows) text = text.replaceAll("/", "\\");
- var components = context.split(text);
+ Iterable<String> components = context.split(text);
// If the first component is absolute, that means it's a separator (on
// Windows some non-separator things are also absolute, but it's invalid
diff --git a/pubspec.yaml b/pubspec.yaml
index 8aceccb..6f25684 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: glob
-version: 1.1.5
+version: 1.1.6
author: "Dart Team <misc@dartlang.org>"
homepage: https://github.com/dart-lang/glob
description: Bash-style filename globbing.