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

Unified Diff: runtime/lib/integers.dart

Issue 25674017: Fix runtimeType for strings, integers and double: return their interface type. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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: runtime/lib/integers.dart
===================================================================
--- runtime/lib/integers.dart (revision 28266)
+++ runtime/lib/integers.dart (working copy)
@@ -9,6 +9,9 @@
throw new UnsupportedError(
"_IntegerImplementation can only be allocated by the VM");
}
+
+ Type get runtimeType => int;
+
num operator +(num other) {
return other._addFromInteger(this);
}
« no previous file with comments | « runtime/lib/double.dart ('k') | runtime/lib/mirrors.cc » ('j') | runtime/lib/mirrors.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698