Index: sdk/lib/_internal/compiler/implementation/lib/math_patch.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/math_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/math_patch.dart |
index b20276efa101c5aad9e728ab4130eaee1d78cc30..3bccb2cf51356966a4dd8df3a3f2a96520199f63 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/math_patch.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/math_patch.dart |
@@ -3,6 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
// Patch file for dart:math library. |
+import 'dart:_foreign_helper' show JS; |
patch double sqrt(num x) |
=> JS('double', r'Math.sqrt(#)', checkNum(x)); |