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

Unified Diff: pkg/compiler/lib/src/js_emitter/runtime_type_generator.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/js_emitter/runtime_type_generator.dart
diff --git a/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart b/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart
index 30bd78424f48fdb12e8ca8f22191f607f0fdaa47..b64a3fe74d1d8dfa9fd158729e7b581ea2a81466 100644
--- a/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart
+++ b/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart
@@ -161,7 +161,6 @@ class RuntimeTypeGenerator {
}
}
- RuntimeTypes rti = backend.rti;
ClassElement superclass = cls.superclass;
bool haveSameTypeVariables(ClassElement a, ClassElement b) {
@@ -267,7 +266,6 @@ class RuntimeTypeGenerator {
List<StubMethod> generateTypeVariableReaderStubs(ClassElement classElement) {
List<StubMethod> stubs = <StubMethod>[];
- List typeVariables = [];
ClassElement superclass = classElement;
while (superclass != null) {
for (TypeVariableType parameter in superclass.typeVariables) {

Powered by Google App Engine
This is Rietveld 408576698