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

Unified Diff: tests/compiler/dart2js_extra/constant_javascript_semantics_test.dart

Issue 10909119: Big doubles are now integers too. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_extra/constant_javascript_semantics_test.dart
diff --git a/tests/compiler/dart2js_extra/constant_javascript_semantics_test.dart b/tests/compiler/dart2js_extra/constant_javascript_semantics_test.dart
index 8323c306c298ca7f885beed610ff3de83531e6f7..dbea32306bb8409444740e10d722f39693bbdc71 100644
--- a/tests/compiler/dart2js_extra/constant_javascript_semantics_test.dart
+++ b/tests/compiler/dart2js_extra/constant_javascript_semantics_test.dart
@@ -21,8 +21,7 @@ main() {
Expect.equals(0, x - y);
Expect.equals(0, foo());
Expect.isTrue(x is double);
- // TODO(floitsch): we probably want to change this to be true.
- Expect.isFalse(x is int);
+ Expect.isTrue(x is int);
Expect.equals(8, b);
Expect.equals(8, 1.0 << 3); // This would not be valid with Dart semantics.
Expect.isTrue(1 == 1.0);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698