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

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

Issue 1971193002: Patches to support Dart VM patch files in dart2js. (Closed) Base URL: sso://user/ahe/dart-sdk@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « sdk/lib/core/expando.dart ('k') | sdk/lib/core/object.dart » ('j') | 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..c046da7818954e4b8f7aefb55c35f9e7a3d08e6c 100644
--- a/sdk/lib/core/null.dart
+++ b/sdk/lib/core/null.dart
@@ -12,10 +12,10 @@ part of dart.core;
* Null.
*/
class Null {
- factory Null._uninstantiable() {
- throw new UnsupportedError('class Null cannot be instantiated');
- }
+ external factory Null._uninstantiable();
/** Returns the string `"null"`. */
- String toString() => "null";
+ external String toString();
+
+ external int get hashCode;
}
« no previous file with comments | « sdk/lib/core/expando.dart ('k') | sdk/lib/core/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698