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

Unified Diff: dart/sdk/lib/_internal/lib/js_rti.dart

Issue 27524003: Generate tear-off closures dynamically. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed unit tests. Created 7 years 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: dart/sdk/lib/_internal/lib/js_rti.dart
diff --git a/dart/sdk/lib/_internal/lib/js_rti.dart b/dart/sdk/lib/_internal/lib/js_rti.dart
index be747ea516fc659fcb9550bb4478e0384d2bcbdf..b2ce705d18347336cab2def9b8d73ade356fe6fe 100644
--- a/dart/sdk/lib/_internal/lib/js_rti.dart
+++ b/dart/sdk/lib/_internal/lib/js_rti.dart
@@ -382,7 +382,7 @@ bool isSupertypeOfNull(var type) {
* See the comment in the beginning of this file for a description of type
* representations.
*/
-bool checkSubtypeOfRuntimeType(Object o, var t) {
+bool checkSubtypeOfRuntimeType(o, var t) {
if (isNull(o)) return isSupertypeOfNull(t);
if (isNull(t)) return true;
// Get the runtime type information from the object here, because we may

Powered by Google App Engine
This is Rietveld 408576698