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

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

Issue 2827283002: Implement subtype relation for kernel based elements. (Closed)
Patch Set: Add remaining checks of BackendUsage Created 3 years, 8 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/world_builder.dart
diff --git a/pkg/compiler/lib/src/universe/world_builder.dart b/pkg/compiler/lib/src/universe/world_builder.dart
index aaefcb2cbabe19f6b404cdcc820f6637632d9b87..7050d0edb29592cdeb5fb1931993c3595c30bd73 100644
--- a/pkg/compiler/lib/src/universe/world_builder.dart
+++ b/pkg/compiler/lib/src/universe/world_builder.dart
@@ -96,7 +96,7 @@ abstract class SelectorConstraints {
///
/// Ideally the selector constraints for calls `foo` with two positional
/// arguments apply to `A.foo` but `B.foo`.
- bool applies(MemberElement element, Selector selector, World world);
+ bool applies(MemberEntity element, Selector selector, World world);
/// Returns `true` if at least one of the receivers matching these constraints
/// in the closed [world] have no implementation matching [selector].
@@ -139,7 +139,7 @@ class OpenWorldConstraints extends UniverseSelectorConstraints {
bool isAll = false;
@override
- bool applies(Element element, Selector selector, World world) => isAll;
+ bool applies(MemberEntity element, Selector selector, World world) => isAll;
@override
bool needsNoSuchMethodHandling(Selector selector, World world) => isAll;

Powered by Google App Engine
This is Rietveld 408576698