Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: compiler/java/com/google/dart/compiler/resolver/LibraryElementImplementation.java

Issue 11648026: Issue 7532. Fix for NPE in SemanticHighlightings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/SemanticHighlightings.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/resolver/LibraryElementImplementation.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/LibraryElementImplementation.java b/compiler/java/com/google/dart/compiler/resolver/LibraryElementImplementation.java
index baffee0fee103c6625239acd6f96ee29e2658e55..3e2c49c139712d9c032f06145d656dbf584fec5f 100644
--- a/compiler/java/com/google/dart/compiler/resolver/LibraryElementImplementation.java
+++ b/compiler/java/com/google/dart/compiler/resolver/LibraryElementImplementation.java
@@ -18,7 +18,7 @@ class LibraryElementImplementation extends AbstractNodeElement implements Librar
private final Map<String, Element> exportedElements = Maps.newHashMap();
private LibraryUnit libraryUnit;
private MethodElement entryPoint;
- private DartObsoleteMetadata metadata;
+ private DartObsoleteMetadata metadata = DartObsoleteMetadata.EMPTY;
public LibraryElementImplementation(LibraryUnit libraryUnit) {
// TODO(ngeoffray): What should we pass the super? Should a LibraryUnit be a node?
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/SemanticHighlightings.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698