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

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

Issue 1026093002: Fix hints in the analyzer package. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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 | « pkg/analyzer/lib/src/generated/engine.dart ('k') | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/incremental_resolver.dart
diff --git a/pkg/analyzer/lib/src/generated/incremental_resolver.dart b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
index fe0df9254d5d239ee9ef5d4a8dc24ba0bfc87475..b7a1ffe11e174e678205f355f0a8e4c7f5d05588 100644
--- a/pkg/analyzer/lib/src/generated/incremental_resolver.dart
+++ b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
@@ -103,7 +103,7 @@ class DeclarationMatcher extends RecursiveAstVisitor {
_captureEnclosingElements(element);
_gatherElements(element);
node.accept(this);
- } on _DeclarationMismatchException catch (exception) {
+ } on _DeclarationMismatchException {
return DeclarationMatchKind.MISMATCH;
} finally {
logger.exit();
@@ -347,7 +347,7 @@ class DeclarationMatcher extends RecursiveAstVisitor {
// matches, update the existing element
node.name.staticElement = element;
_setLocalElements(element, newElement);
- } on _DeclarationMismatchException catch (e) {
+ } on _DeclarationMismatchException {
_addedElements.add(newElement);
_removeElement(element);
// add new element
« no previous file with comments | « pkg/analyzer/lib/src/generated/engine.dart ('k') | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698