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

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

Issue 11048013: Issue 5588. Don't report errors when preProcessLibraryDirectives() (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/DartCompilerMainContext.java
diff --git a/compiler/java/com/google/dart/compiler/DartCompilerMainContext.java b/compiler/java/com/google/dart/compiler/DartCompilerMainContext.java
index ac44af98cfd42458efd4e63c23922826413145d9..4643e1cbb4496ba58f66197f0d93682eb29cc4c8 100644
--- a/compiler/java/com/google/dart/compiler/DartCompilerMainContext.java
+++ b/compiler/java/com/google/dart/compiler/DartCompilerMainContext.java
@@ -92,7 +92,7 @@ final class DartCompilerMainContext implements DartCompilerListener, DartCompile
if (appLibraryUnit == null) {
try {
appLibraryUnit = new DartParser(lib, DartParser.read(lib), false,
- Sets.<String> newHashSet(), listener, null).preProcessLibraryDirectives(lib);
+ Sets.<String> newHashSet(), DartCompilerListener.EMPTY, null).preProcessLibraryDirectives(lib);
} catch (IOException e) {
onError(new DartCompilationError(lib, DartCompilerErrorCode.IO, e.getMessage()));
return null;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698