mirror of
https://github.com/dart-lang/sdk
synced 2024-09-23 05:23:31 +00:00
Add missing methods to JSNull.
Review URL: https://codereview.chromium.org//267443005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35588 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
ace80471f1
commit
5c7a92fa0a
|
@ -61,6 +61,8 @@ class JSString {
|
|||
operator+(other) => null;
|
||||
}
|
||||
class JSNull {
|
||||
bool operator ==(other) => identical(null, other);
|
||||
int get hashCode => 0;
|
||||
}
|
||||
class JSBool {
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue