Index: sdk/lib/math/math.dart |
diff --git a/sdk/lib/math/math.dart b/sdk/lib/math/math.dart |
index 73768c934959018dc33a229df54e2d5c9c391df2..46fe33863c99b7f89972f2cc1fe2f5db19cbb5b9 100644 |
--- a/sdk/lib/math/math.dart |
+++ b/sdk/lib/math/math.dart |
@@ -67,7 +67,7 @@ const double SQRT2 = 1.4142135623730951; |
* same mathematical value) then it is unspecified which of the two arguments |
* is returned. |
*/ |
-num/*=T*/ min/*<T extends num>*/(num/*=T*/ a, num/*=T*/ b) { |
+T min<T extends num>(T a, T b) { |
// These partially redundant type checks improve code quality for dart2js. |
// Most of the improvement is at call sites from the inferred non-null num |
// return type. |
@@ -102,7 +102,7 @@ num/*=T*/ min/*<T extends num>*/(num/*=T*/ a, num/*=T*/ b) { |
* otherwise equal (including int and doubles with the same mathematical value) |
* then it is unspecified which of the two arguments is returned. |
*/ |
-num/*=T*/ max/*<T extends num>*/(num/*=T*/ a, num/*=T*/ b) { |
+T max<T extends num>(T a, T b) { |
// These partially redundant type checks improve code quality for dart2js. |
// Most of the improvement is at call sites from the inferred non-null num |
// return type. |