Index: lib/runtime/dart/core.js |
diff --git a/lib/runtime/dart/core.js b/lib/runtime/dart/core.js |
index 7758ec7d69a34a63141a34a01a0738b9b54e5e1a..8aa5e0e21902a9d58b4a0f5eddab708228e1ee11 100644 |
--- a/lib/runtime/dart/core.js |
+++ b/lib/runtime/dart/core.js |
@@ -607,7 +607,7 @@ dart_library.library('dart/core', null, /* Imports */[ |
Error() { |
} |
static safeToString(object) { |
- if (dart.is(object, num) || typeof object == 'boolean' || null == object) { |
+ if (typeof object == 'number' || typeof object == 'boolean' || null == object) { |
return dart.toString(object); |
} |
if (typeof object == 'string') { |