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

Unified Diff: tests/language/canonical_const_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 | « runtime/vm/snapshot_test.cc ('k') | tests/language/compile_time_constant8_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/canonical_const_test.dart
===================================================================
--- tests/language/canonical_const_test.dart (revision 23747)
+++ tests/language/canonical_const_test.dart (working copy)
@@ -23,7 +23,7 @@
Expect.isFalse(identical(const C1(), const C2()));
Expect.identical(B, const C2());
// TODO(johnlenz): these two values don't currently have the same type
- // Expect.isTrue(const [1,2] === const List[1,2]);
+ // Expect.identical(const [1,2], const List[1,2]);
Expect.isFalse(identical(const [2,1], const[1,2]));
Expect.identical(const <int>[1,2], const <int>[1,2]);
Expect.identical(const <Object>[1,2], const <Object>[1,2]);
« no previous file with comments | « runtime/vm/snapshot_test.cc ('k') | tests/language/compile_time_constant8_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698