Index: pkg/compiler/lib/src/js_backend/type_variable_handler.dart |
diff --git a/pkg/compiler/lib/src/js_backend/type_variable_handler.dart b/pkg/compiler/lib/src/js_backend/type_variable_handler.dart |
index 6a99594ed9bd033413ae7d2a856f1da80da16d7a..996137d06c718aeb62d93b901c3a6ae9ebfcc1e4 100644 |
--- a/pkg/compiler/lib/src/js_backend/type_variable_handler.dart |
+++ b/pkg/compiler/lib/src/js_backend/type_variable_handler.dart |
@@ -91,7 +91,7 @@ class TypeVariableCodegenAnalysis { |
} |
void registerClassWithTypeVariables(ClassElement cls) { |
- if (_mirrorsData.isAccessibleByReflection(cls)) { |
+ if (_mirrorsData.isClassAccessibleByReflection(cls)) { |
processTypeVariablesOf(cls); |
} |
} |