| Index: dart/sdk/lib/_internal/compiler/implementation/lib/js_number.dart
|
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/lib/js_number.dart b/dart/sdk/lib/_internal/compiler/implementation/lib/js_number.dart
|
| index e1263cec595827a2ad04d58de9f1dbeedd306198..975c1a5443a1f8b54b12d9a177df2e10d608d1e2 100644
|
| --- a/dart/sdk/lib/_internal/compiler/implementation/lib/js_number.dart
|
| +++ b/dart/sdk/lib/_internal/compiler/implementation/lib/js_number.dart
|
| @@ -133,6 +133,7 @@ class JSNumber {
|
| return JS('String', r'#.toString(#)', this, radix);
|
| }
|
|
|
| + // Note: if you change this, also change the function [S].
|
| String toString() {
|
| if (this == 0 && JS('bool', '(1 / #) < 0', this)) {
|
| return '-0.0';
|
|
|