Index: lib/src/util/io.dart |
diff --git a/lib/src/util/io.dart b/lib/src/util/io.dart |
index c14e32f56bc86eda13003b87f9b34482c18a9654..65bb9cde6e0f822d68a63144a64079f0eb2a8405 100644 |
--- a/lib/src/util/io.dart |
+++ b/lib/src/util/io.dart |
@@ -39,7 +39,7 @@ bool get _supportsIsolateKill { |
// Isolate.kill(), but it's very unlikely anyone will be using them. |
// TODO(nweiz): remove this when we no longer support older Dart versions. |
var path = p.join(p.dirname(p.dirname(Platform.executable)), 'version'); |
- return new File(path).readAsStringSync().startsWith('1.9'); |
+ return !new File(path).readAsStringSync().startsWith('1.8'); |
} |
// TODO(nweiz): Make this check [stdioType] once that works within "pub run". |