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

Unified Diff: pkg/compiler/lib/src/resolution/members.dart

Issue 1173403002: dart2js: Fix hints in code base. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Updated to latest revision Created 5 years, 6 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/compiler/lib/src/resolution/members.dart
diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart
index 27dda38d8150b044756529368e0c2db331daabea..a8ff69cc57fc045fa0ee8f602e8958935a773770 100644
--- a/pkg/compiler/lib/src/resolution/members.dart
+++ b/pkg/compiler/lib/src/resolution/members.dart
@@ -1972,7 +1972,6 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> {
registerPotentialAccessInClosure(node, target);
}
- bool resolvedArguments = false;
resolveArguments(node.argumentsNode);
// If the selector is null, it means that we will not be generating
@@ -2467,7 +2466,6 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> {
}
ResolutionResult visitNewExpression(NewExpression node) {
- Node selector = node.send.selector;
FunctionElement constructor = resolveConstructor(node);
final bool isSymbolConstructor = constructor == compiler.symbolConstructor;
final bool isMirrorsUsedConstant =

Powered by Google App Engine
This is Rietveld 408576698