Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/lib/js_number.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_number.dart b/sdk/lib/_internal/compiler/implementation/lib/js_number.dart |
| index e95d651f4b5a99d53bb378a8ab80d082b78a0b18..3029da773e9db9cb6f812acc5c4ccf0957c7553d 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/lib/js_number.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/lib/js_number.dart |
| @@ -94,7 +94,7 @@ class JSNumber extends Interceptor implements num { |
| return this; |
| } |
| - double toDouble() => this; |
| + toDouble() => this; |
|
ngeoffray
2013/05/15 11:57:07
Please add a comment that this is deliberate.
Johnni Winther
2013/05/17 12:06:42
Done.
|
| String toStringAsFixed(int fractionDigits) { |
| checkNum(fractionDigits); |