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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/interceptors.dart

Issue 12207038: Fix issue http://dartbug.com/8350 by dealing with interceptors in invokeOn. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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/lib/interceptors.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart b/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
index 5431f002e772291febaabb4d63eb731e2be207c0..6d25f6ca23d105f564649df675f573bdeaa259e6 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
@@ -43,7 +43,7 @@ class ObjectInterceptor {
* to emit a call to an intercepted method, that is a method that is
* defined in an interceptor class.
*/
-getInterceptor() {
+getInterceptor(object) {
// This is a magic method: the compiler does specialization of it
// depending on the uses of intercepted methods and instantiated
// primitive types.

Powered by Google App Engine
This is Rietveld 408576698