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

Unified Diff: tests/language/compile_time_constant8_test.dart

Issue 16398006: BREAKING CHANGE: Remove === and !== in the VM compiler (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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 | « tests/language/canonical_const_test.dart ('k') | tests/language/compile_time_constant_b_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/compile_time_constant8_test.dart
===================================================================
--- tests/language/compile_time_constant8_test.dart (revision 23747)
+++ tests/language/compile_time_constant8_test.dart (working copy)
@@ -15,6 +15,6 @@
const list1 = const<int> [1, 2];
const list2 = const [1, 2];
main() {
- Expect.isFalse(a === b);
- Expect.isFalse(list1 === list2);
+ Expect.isFalse(identical(a, b));
+ Expect.isFalse(identical(list1, list2));
}
« no previous file with comments | « tests/language/canonical_const_test.dart ('k') | tests/language/compile_time_constant_b_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698