Skip to content

Commit b49dea0

Browse files
authored
Merge pull request flutter#19 from srawlins/fix-runtime
Fix runtime cast issue
2 parents aa582bc + f1476d6 commit b49dea0

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.1.6
2+
3+
* Improve support for Dart 2 runtime semantics.
4+
15
## 1.1.5
26

37
* Declare support for `async` 2.0.0.

lib/src/ast.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class SequenceNode extends AstNode {
147147

148148
var text = literal.text;
149149
if (context.style == p.Style.windows) text = text.replaceAll("/", "\\");
150-
var components = context.split(text);
150+
Iterable<String> components = context.split(text);
151151

152152
// If the first component is absolute, that means it's a separator (on
153153
// Windows some non-separator things are also absolute, but it's invalid

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: glob
2-
version: 1.1.5
2+
version: 1.1.6
33
author: "Dart Team <[email protected]>"
44
homepage: https://github.com/dart-lang/glob
55
description: Bash-style filename globbing.

0 commit comments

Comments
 (0)