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

Unified Diff: frog/lib/num.dart

Issue 8457007: Better runtime type checks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merged, and fix typo in member name Created 9 years, 1 month 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: frog/lib/num.dart
diff --git a/frog/lib/num.dart b/frog/lib/num.dart
index 431b09bdfbe021b29b1e285d6a8658598ca1e84a..bf40a12ba9ae8ee21eabcdefab6024ff8039f022 100644
--- a/frog/lib/num.dart
+++ b/frog/lib/num.dart
@@ -44,6 +44,9 @@ interface num extends Comparable, Hashable {
String toStringAsPrecision(int precision);
String toRadixString(int radix);
+ // TODO(jmesserly): we need to do something in the Frog type system to know
+ // to know that most int operations are closed over integers.
+
// TODO(jimhug): Bit-operations stolen from int
int operator &(int other);
int operator |(int other);

Powered by Google App Engine
This is Rietveld 408576698