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

Unified Diff: sdk/lib/core/null.dart

Issue 2407603002: Give useful message for null derefs (Closed)
Patch Set: Give useful message for null derefs Created 4 years, 2 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
« sdk/lib/core/errors.dart ('K') | « sdk/lib/core/errors.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/null.dart
diff --git a/sdk/lib/core/null.dart b/sdk/lib/core/null.dart
index dd914a3be90ae0ea66c2eabf9c7a0a5263f011af..f98218d173c16455d795758b4c9df0919c8a0ffb 100644
--- a/sdk/lib/core/null.dart
+++ b/sdk/lib/core/null.dart
@@ -16,6 +16,8 @@ class Null {
throw new UnsupportedError('class Null cannot be instantiated');
}
+ external dynamic noSuchMethod(Invocation invocation);
+
/** Returns the string `"null"`. */
String toString() => "null";
}
« sdk/lib/core/errors.dart ('K') | « sdk/lib/core/errors.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698