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

Unified Diff: tests/language/field_optimization3_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/ct_const_test.dart ('k') | tests/language/finally_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/field_optimization3_test.dart
diff --git a/tests/language/field_optimization3_test.dart b/tests/language/field_optimization3_test.dart
index b23b0ff57b88da5e33470e96ce9fda695f13f5d9..1f11c104122defffba80f8bfe34ec7869fbbe4d5 100644
--- a/tests/language/field_optimization3_test.dart
+++ b/tests/language/field_optimization3_test.dart
@@ -18,7 +18,7 @@ class A {
}
setA(value) { a = value; }
setB(value) { b = value; }
- operator >(other) => other === 0.2;
+ operator >(other) => other == 0.2;
}
main() {
« no previous file with comments | « tests/language/ct_const_test.dart ('k') | tests/language/finally_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698