Index: tests/isolate/static_function_lib.dart |
diff --git a/tests/isolate/static_function_lib.dart b/tests/isolate/static_function_lib.dart |
index e0b65970337258499ab617816b7bc767c37c8bfe..886284f6b5c742ef773aaec647adba0dc978f821 100644 |
--- a/tests/isolate/static_function_lib.dart |
+++ b/tests/isolate/static_function_lib.dart |
@@ -3,18 +3,30 @@ |
// BSD-style license that can be found in the LICENSE file. |
library static_function_testlib; |
+ |
import "dart:isolate" show SendPort; |
// Used by static_function_test.dart. |
-void function(port) { port.send("LIBTOP"); } |
-void _function(port) { port.send("_LIBTOP"); } |
+void function(port) { |
+ port.send("LIBTOP"); |
+} |
+ |
+void _function(port) { |
+ port.send("_LIBTOP"); |
+} |
Function get privateFunction => _function; |
class C { |
- static void function(SendPort port) { port.send("LIB"); } |
- static void _function(SendPort port) { port.send("LIBPRIVATE"); } |
+ static void function(SendPort port) { |
+ port.send("LIB"); |
+ } |
+ |
+ static void _function(SendPort port) { |
+ port.send("LIBPRIVATE"); |
+ } |
+ |
static Function get privateFunction => _function; |
} |
@@ -22,6 +34,11 @@ Function get privateClassFunction => _C.function; |
Function get privateClassAndFunction => _C._function; |
class _C { |
- static void function(SendPort port) { port.send("_LIB"); } |
- static void _function(SendPort port) { port.send("_LIBPRIVATE"); } |
+ static void function(SendPort port) { |
+ port.send("_LIB"); |
+ } |
+ |
+ static void _function(SendPort port) { |
+ port.send("_LIBPRIVATE"); |
+ } |
} |