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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/interceptors.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
Index: sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart b/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
index 2fc25a6fb80f706916b405d3a7fa2ea9a99b107f..670b30ca78f84f85ff1a6c763a5cf3072bcd575f 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
@@ -66,7 +66,7 @@ set$length(receiver, newLength) {
}
toString(var value) {
- if (JS('bool', r'typeof # == "object" && # !== null', value, value)) {
+ if (JS('bool', r'typeof # == "object" && # != null', value, value)) {
if (isJsArray(value)) {
return Collections.collectionToString(value);
} else {

Powered by Google App Engine
This is Rietveld 408576698