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

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

Issue 98073005: Generate tear-off closures dynamically, second attempt. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r30973. 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
« no previous file with comments | « dart/sdk/lib/_internal/lib/js_mirrors.dart ('k') | dart/tests/compiler/dart2js/mirrors_used_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3c4da5abdb9e1668532bb435aa61b888429f7ea3 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, t) {
if (isNull(o)) return isSupertypeOfNull(t);
if (isNull(t)) return true;
// Get the runtime type information from the object here, because we may
« no previous file with comments | « dart/sdk/lib/_internal/lib/js_mirrors.dart ('k') | dart/tests/compiler/dart2js/mirrors_used_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698