Index: tests/standalone/vmservice/isolate_stacktrace_command_script.dart |
diff --git a/tests/standalone/vmservice/isolate_stacktrace_command_script.dart b/tests/standalone/vmservice/isolate_stacktrace_command_script.dart |
index b9bbccff4a13b0dd6ef3cbd45a055e7829d37289..6524ce558c253a21f44dfe0fb9a019a2446199c1 100644 |
--- a/tests/standalone/vmservice/isolate_stacktrace_command_script.dart |
+++ b/tests/standalone/vmservice/isolate_stacktrace_command_script.dart |
@@ -25,12 +25,12 @@ class C { |
} |
} |
-void myIsolateName() { |
+void myIsolateName(_) { |
new C().c(); |
} |
main() { |
- spawnFunction(myIsolateName); |
+ Isolate.spawn(myIsolateName, null); |
// Wait until signaled from spawning test. |
stdin.first.then((_) => exit(0)); |
} |