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

Unified Diff: pkg/analyzer/lib/src/generated/ast.dart

Issue 435483002: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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: pkg/analyzer/lib/src/generated/ast.dart
diff --git a/pkg/analyzer/lib/src/generated/ast.dart b/pkg/analyzer/lib/src/generated/ast.dart
index ba77c11bcc7700a817d5e0cb48534fb94cf68cbe..185d4da88796c01190dfc543aa87984a6e4272e6 100644
--- a/pkg/analyzer/lib/src/generated/ast.dart
+++ b/pkg/analyzer/lib/src/generated/ast.dart
@@ -11837,7 +11837,7 @@ class NodeLocator extends UnifyingAstVisitor<Object> {
try {
node.accept(this);
} on NodeLocator_NodeFoundException catch (exception) {
- } on JavaException catch (exception) {
+ } catch (exception) {
AnalysisEngine.instance.logger.logInformation2("Unable to locate element at offset (${_startOffset} - ${_endOffset})", exception);
return null;
}
@@ -11858,7 +11858,7 @@ class NodeLocator extends UnifyingAstVisitor<Object> {
node.visitChildren(this);
} on NodeLocator_NodeFoundException catch (exception) {
throw exception;
- } on JavaException catch (exception) {
+ } catch (exception) {
// Ignore the exception and proceed in order to visit the rest of the structure.
AnalysisEngine.instance.logger.logInformation2("Exception caught while traversing an AST structure.", exception);
}

Powered by Google App Engine
This is Rietveld 408576698