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

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

Issue 14049034: Revert "Revert "Fix x.runtimeType for native classes"" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: 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 4c316881ef265a1e89a4b459a71efb408c257274..d56fb0bc5632f5e752d01272e5c006e9ea761ace 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
@@ -15,14 +15,13 @@ import 'dart:_js_helper' show allMatchesInStringUnchecked,
checkNull,
checkNum,
checkString,
- getRuntimeTypeString,
+ getRuntimeType,
regExpGetNative,
stringContainsUnchecked,
stringLastIndexOfUnchecked,
stringReplaceAllFuncUnchecked,
stringReplaceAllUnchecked,
stringReplaceFirstUnchecked,
- TypeImpl,
lookupDispatchRecord;
import 'dart:_foreign_helper' show JS;
@@ -210,7 +209,7 @@ abstract class Interceptor {
invocation.namedArguments);
}
- Type get runtimeType;
+ Type get runtimeType => getRuntimeType(this);
}
/**

Powered by Google App Engine
This is Rietveld 408576698