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

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

Issue 26096002: New analyzer_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: pkg/analyzer_experimental/lib/src/generated/ast.dart
diff --git a/pkg/analyzer_experimental/lib/src/generated/ast.dart b/pkg/analyzer_experimental/lib/src/generated/ast.dart
index 3acc2316b0346c4f0fa46c32e22b681949c66068..609b58d072aef3bf12ac8fb08b9981d3cca50d6c 100644
--- a/pkg/analyzer_experimental/lib/src/generated/ast.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/ast.dart
@@ -12987,7 +12987,7 @@ class NodeLocator extends GeneralizingASTVisitor<Object> {
try {
node.accept(this);
} on NodeLocator_NodeFoundException catch (exception) {
- } catch (exception) {
+ } on JavaException catch (exception) {
AnalysisEngine.instance.logger.logInformation2("Unable to locate element at offset (${_startOffset} - ${_endOffset})", exception);
return null;
}
@@ -13006,7 +13006,7 @@ class NodeLocator extends GeneralizingASTVisitor<Object> {
node.visitChildren(this);
} on NodeLocator_NodeFoundException catch (exception) {
throw exception;
- } catch (exception) {
+ } on JavaException catch (exception) {
AnalysisEngine.instance.logger.logInformation2("Exception caught while traversing an AST structure.", exception);
}
if (start <= _startOffset && _endOffset <= end) {

Powered by Google App Engine
This is Rietveld 408576698