| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java
|
| index 9cb8e70c6d2ff9d456eb79b91a31eb9811360aca..645c1200f324d5cf3a01313a2de6e4b2438ae964 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java
|
| @@ -175,6 +175,9 @@ public class LibraryResolver {
|
| if (coreLibrary == null) {
|
| // This will be true unless the library being analyzed is the core library.
|
| coreLibrary = createLibrary(coreLibrarySource);
|
| + if (coreLibrary == null) {
|
| + throw new AnalysisException("Core library does not exist");
|
| + }
|
| }
|
| instrumentation.metric("createLibrary", "complete");
|
| //
|
|
|