commit | bd32ec7c49476244914363610901d6152373212f | [log] [tgz] |
---|---|---|
author | dgrove@google.com <dgrove@google.com> | Tue Oct 08 03:35:36 2013 +0000 |
committer | dgrove@google.com <dgrove@google.com> | Wed May 27 13:26:49 2015 -0700 |
tree | 0422803aabd1d5855ea20bded3e35164b311bec6 | |
parent | 3092a3d9ca6054d835bff896c1328138bf0d5749 [diff] |
Version 0.8.1.2 . svn merge -c 28352 https://dart.googlecode.com/svn/branches/bleeding_edge trunk git-svn-id: http://dart.googlecode.com/svn/trunk@28355 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/pkg/analyzer_experimental/lib/src/generated/source_io.dart b/pkg/analyzer_experimental/lib/src/generated/source_io.dart index 692b0e2..72ff203 100644 --- a/pkg/analyzer_experimental/lib/src/generated/source_io.dart +++ b/pkg/analyzer_experimental/lib/src/generated/source_io.dart
@@ -261,6 +261,9 @@ */ bool isSelfReference(JavaFile packagesDir, JavaFile file) { JavaFile rootDir = packagesDir.getParentFile(); + if (rootDir == null) { + return false; + } String rootPath = rootDir.getAbsolutePath(); String filePath = file.getAbsolutePath(); return filePath.startsWith("${rootPath}/lib");
diff --git a/tools/VERSION b/tools/VERSION index 9f4c828..0f4803e 100644 --- a/tools/VERSION +++ b/tools/VERSION
@@ -1,4 +1,4 @@ MAJOR 0 MINOR 8 BUILD 1 -PATCH 1 +PATCH 2