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

Unified Diff: sdk/lib/core/errors.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 | « sdk/lib/core/date.dart ('k') | sdk/lib/core/expect.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/errors.dart
diff --git a/sdk/lib/core/errors.dart b/sdk/lib/core/errors.dart
index fec2de5295fb11943e74ca610d4eb28e3bbaac05..2425189a868a9c87d2894f5555b36b06573d7e46 100644
--- a/sdk/lib/core/errors.dart
+++ b/sdk/lib/core/errors.dart
@@ -154,7 +154,7 @@ class NoSuchMethodError implements Error {
i++;
});
}
- if (_existingArgumentNames === null) {
+ if (_existingArgumentNames == null) {
return "NoSuchMethodError : method not found: '$_memberName'\n"
"Receiver: ${safeToString(_receiver)}\n"
"Arguments: [$sb]";
@@ -226,7 +226,7 @@ class UnsupportedError implements Error {
class UnimplementedError implements UnsupportedError, NotImplementedException {
final String message;
const UnimplementedError([String this.message]);
- String toString() => (this.message !== null
+ String toString() => (this.message != null
? "UnimplementedError: $message"
: "UnimplementedError");
}
« no previous file with comments | « sdk/lib/core/date.dart ('k') | sdk/lib/core/expect.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698