Index: pkg/dev_compiler/tool/input_sdk/patch/math_patch.dart |
diff --git a/pkg/dev_compiler/tool/input_sdk/patch/math_patch.dart b/pkg/dev_compiler/tool/input_sdk/patch/math_patch.dart |
index d727e225aea559aed2528733994b47c4050872a1..01c7ca3a7fe730b5134a6f53caf0f1be419bcaa1 100644 |
--- a/pkg/dev_compiler/tool/input_sdk/patch/math_patch.dart |
+++ b/pkg/dev_compiler/tool/input_sdk/patch/math_patch.dart |
@@ -19,13 +19,13 @@ num/*=T*/ max/*<T extends num>*/(num/*=T*/ a, num/*=T*/ b) => |
double sqrt(num x) => JS('num', r'Math.sqrt(#)', checkNum(x)); |
@patch |
-double sin(num x) => JS('num', r'Math.sin(#)', checkNum(x)); |
+double sin(num radians) => JS('num', r'Math.sin(#)', checkNum(radians)); |
@patch |
-double cos(num x) => JS('num', r'Math.cos(#)', checkNum(x)); |
+double cos(num radians) => JS('num', r'Math.cos(#)', checkNum(radians)); |
@patch |
-double tan(num x) => JS('num', r'Math.tan(#)', checkNum(x)); |
+double tan(num radians) => JS('num', r'Math.tan(#)', checkNum(radians)); |
@patch |
double acos(num x) => JS('num', r'Math.acos(#)', checkNum(x)); |