Index: lib/runtime/dart/core.js |
diff --git a/lib/runtime/dart/core.js b/lib/runtime/dart/core.js |
index 9893f751f5ff25aa34264d982448e2fe308217a3..baee9708176073cd53205e6aa6a062c92983da0e 100644 |
--- a/lib/runtime/dart/core.js |
+++ b/lib/runtime/dart/core.js |
@@ -76,7 +76,7 @@ dart.library('dart/core', null, /* Imports */[ |
let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : false; |
throw new UnsupportedError('bool.fromEnvironment can only be used as a const constructor'); |
} |
- [dartx.toString]() { |
+ toString() { |
return this ? "true" : "false"; |
} |
} |
@@ -520,7 +520,7 @@ dart.library('dart/core', null, /* Imports */[ |
return dart.equals(this[_duration], dart.dload(other, _duration)); |
} |
get hashCode() { |
- return dart[dartx.hashCode](this[_duration]); |
+ return dart.hashCode(this[_duration]); |
} |
compareTo(other) { |
return this[_duration][dartx.compareTo](other[_duration]); |