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

Unified Diff: editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/MainEngine.java

Issue 285423002: New analyzer snapshot (with CaughtException). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Replace AnalysisException with CaughtException Created 6 years, 7 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: editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/MainEngine.java
diff --git a/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/MainEngine.java b/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/MainEngine.java
index 41745aee3f3f433502c3936ccb4b2658a961b31d..c4c104e979cd6fb251e218fec0d36c9bd7c2ae36 100644
--- a/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/MainEngine.java
+++ b/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/MainEngine.java
@@ -276,6 +276,7 @@ public class MainEngine {
new GuavaSemanticProcessor(context),
new JUnitSemanticProcessor(context),
new EngineAnnotationProcessor(context),
+ new EngineExceptionProcessor(context),
new UniqueMemberNamesSemanticProcessor(context),
new RenameConstructorsSemanticProcessor(context),
new EngineSemanticProcessor(context),
@@ -596,6 +597,7 @@ public class MainEngine {
unit.getDirectives().add(
importDirective("utilities_collection.dart", null, importShowCombinator("TokenMap")));
unit.getDirectives().add(importDirective("element.dart", null));
+ unit.getDirectives().add(importDirective("constant.dart", null));
for (CompilationUnitMember member : dartUnit.getDeclarations()) {
File file = context.getMemberToFile().get(member);
if (isEnginePath(file, "ast/") || isEnginePath(file, "utilities/ast/")) {

Powered by Google App Engine
This is Rietveld 408576698