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

Unified Diff: compiler/java/com/google/dart/compiler/DartCompiler.java

Issue 10790117: Check for conflicts between new function/method and other elements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 months 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
Index: compiler/java/com/google/dart/compiler/DartCompiler.java
diff --git a/compiler/java/com/google/dart/compiler/DartCompiler.java b/compiler/java/com/google/dart/compiler/DartCompiler.java
index 385d3c7c35db3efe76c1dcb54f49df1cbf0791c0..03d4da483c38b6849106386c37698d44185167ee 100644
--- a/compiler/java/com/google/dart/compiler/DartCompiler.java
+++ b/compiler/java/com/google/dart/compiler/DartCompiler.java
@@ -666,7 +666,7 @@ public class DartCompiler {
// get the dart unit corresponding to this library
DartUnit unit = importedLib.getSelfDartUnit();
- if (unit.isDiet()) {
+ if (unit == null || unit.isDiet()) {
// don't need to check a unit that hasn't changed
continue;
}
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/RefactoringCoreMessages.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698