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

Unified Diff: tests/language/class_literal_test.dart

Issue 11361190: a === b -> identical(a, b) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 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
« no previous file with comments | « tests/language/canonical_const_test.dart ('k') | tests/language/comparison_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/class_literal_test.dart
diff --git a/tests/language/class_literal_test.dart b/tests/language/class_literal_test.dart
index 23cdc6def0397dbd25f6949d9593a22850a7639b..fe4b13cc170be1c6003e96d60bfc2337841d86eb 100644
--- a/tests/language/class_literal_test.dart
+++ b/tests/language/class_literal_test.dart
@@ -31,8 +31,8 @@ main() {
foo(Class[0]); /// 17: compile-time error
foo(Class[0].field); /// 18: compile-time error
foo(Class[0].method()); /// 19: compile-time error
- Class === null; /// 20: compile-time error
- null === Class; /// 21: compile-time error
+ Class == null; /// 20: compile-time error
+ null == Class; /// 21: compile-time error
Class[0] = 91; /// 22: compile-time error
Class++; /// 23: compile-time error
++Class; /// 24: compile-time error
« no previous file with comments | « tests/language/canonical_const_test.dart ('k') | tests/language/comparison_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698