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

Unified Diff: pkg/compiler/lib/src/resolution/class_hierarchy.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/class_hierarchy.dart
diff --git a/pkg/compiler/lib/src/resolution/class_hierarchy.dart b/pkg/compiler/lib/src/resolution/class_hierarchy.dart
index f5534a89b174106b0990b204e47111646861c8ae..993b7736c43bf0b80e0dd43d3ccf95bb3fb3c38c 100644
--- a/pkg/compiler/lib/src/resolution/class_hierarchy.dart
+++ b/pkg/compiler/lib/src/resolution/class_hierarchy.dart
@@ -102,7 +102,7 @@ class ClassResolverVisitor extends TypeDefinitionVisitor {
'cyclic resolution of class $element');
}
- InterfaceType type = element.computeType(compiler);
+ element.computeType(compiler);
scope = new TypeDeclarationScope(scope, element);
// TODO(ahe): It is not safe to call resolveTypeVariableBounds yet.
// As a side-effect, this may get us back here trying to
@@ -243,7 +243,7 @@ class ClassResolverVisitor extends TypeDefinitionVisitor {
MessageKind.DEPRECATED_TYPEDEF_MIXIN_SYNTAX);
}
- InterfaceType type = element.computeType(compiler);
+ element.computeType(compiler);
scope = new TypeDeclarationScope(scope, element);
resolveTypeVariableBounds(node.typeParameters);

Powered by Google App Engine
This is Rietveld 408576698