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

Unified Diff: tests/compiler/dart2js/call_site_type_inferer_test.dart

Issue 10825386: Use JavaScript runtime semantics when constant folding. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Comment and test update. 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
Index: tests/compiler/dart2js/call_site_type_inferer_test.dart
diff --git a/tests/compiler/dart2js/call_site_type_inferer_test.dart b/tests/compiler/dart2js/call_site_type_inferer_test.dart
index a79801073d1348d2dd23bbfd194c3d87574ec5cc..e485f0b658df40f34331a78b878388673930191b 100644
--- a/tests/compiler/dart2js/call_site_type_inferer_test.dart
+++ b/tests/compiler/dart2js/call_site_type_inferer_test.dart
@@ -47,7 +47,7 @@ const String TEST_4 = @"""
class A {
x(p) => x(p - 1);
}
- main() { new A().x(1.0); }
+ main() { new A().x(1.5); }
""";
const String TEST_5 = @"""
@@ -56,7 +56,7 @@ const String TEST_5 = @"""
}
main() {
new A().x(1);
- new A().x(1.0);
+ new A().x(1.5);
}
""";
@@ -65,7 +65,7 @@ const String TEST_6 = @"""
x(p) => p;
}
main() {
- new A().x(1.0);
+ new A().x(1.5);
new A().x(1);
}
""";

Powered by Google App Engine
This is Rietveld 408576698