Index: dart/sdk/lib/_internal/lib/foreign_helper.dart |
=================================================================== |
--- dart/sdk/lib/_internal/lib/foreign_helper.dart (revision 31466) |
+++ dart/sdk/lib/_internal/lib/foreign_helper.dart (working copy) |
@@ -128,6 +128,9 @@ |
/** |
* Converts the Dart closure [function] into a JavaScript closure. |
+ * |
+ * Warning: This is no different from [RAW_DART_FUNCTION_REF] which means care |
+ * must be taken to store the current isolate. |
*/ |
DART_CLOSURE_TO_JS(Function function) {} |