Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/js_number.dart

Issue 15001028: Fix type warnings in API and helpers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698