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

Unified Diff: sdk/lib/_internal/compiler/implementation/types/type_mask.dart

Issue 23225004: Fix a bug where we would emit a noSuchMethod handler in the Object class for Object methods because… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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: sdk/lib/_internal/compiler/implementation/types/type_mask.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/types/type_mask.dart (revision 26305)
+++ sdk/lib/_internal/compiler/implementation/types/type_mask.dart (working copy)
@@ -104,6 +104,12 @@
bool willHit(Selector selector, Compiler compiler);
/**
+ * Returns whether this [TypeMask] applied to [selector] can hit a
+ * [noSuchMethod].
+ */
+ bool needsNoSuchMethodHandling(Selector selector, Compiler compiler);
+
+ /**
* Returns whether [element] is a potential target when being
* invoked on this type mask. [selector] is used to ensure library
* privacy is taken into account.

Powered by Google App Engine
This is Rietveld 408576698