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

Unified Diff: pkg/compiler/lib/src/universe/class_set.dart

Issue 2944843002: All strong mode cleaning of dart2js. (Closed)
Patch Set: More issues discovered during testing. Created 3 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/universe/class_set.dart
diff --git a/pkg/compiler/lib/src/universe/class_set.dart b/pkg/compiler/lib/src/universe/class_set.dart
index 4d1824d2b4cfff130d3af64ea578af0e5a641def..13a0cdb998ff4bbb15de6ab7a745028f0e2d6c44 100644
--- a/pkg/compiler/lib/src/universe/class_set.dart
+++ b/pkg/compiler/lib/src/universe/class_set.dart
@@ -343,7 +343,8 @@ class ClassHierarchyNode {
{bool instantiatedOnly: false,
bool sorted: true,
ClassElement withRespectTo}) {
- bool isRelatedTo(ClassElement subclass) {
+ bool isRelatedTo(ClassEntity _subclass) {
+ ClassElement subclass = _subclass;
return subclass == withRespectTo ||
subclass.implementsInterface(withRespectTo);
}
« no previous file with comments | « pkg/compiler/lib/src/types/union_type_mask.dart ('k') | pkg/compiler/lib/src/universe/codegen_world_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698