| Index: sdk/lib/_internal/dartdoc/lib/dartdoc.dart
|
| diff --git a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
|
| index 38d17063037edc0e77d4090da0fa1e9d01bfc293..d762d4a8d3ab2c1d7db82e9d3d39b71725811bce 100644
|
| --- a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
|
| +++ b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
|
| @@ -149,7 +149,7 @@ Future compileScript(int mode, Path outputDir, Path libPath) {
|
|
|
| void _compileScript() {
|
| port.receive((message, replyTo) {
|
| - new Future.of(() {
|
| + new Future.sync(() {
|
| var clientScript = (message['mode'] == MODE_STATIC) ?
|
| 'static' : 'live-nav';
|
| var dartPath = pathos.join(message['libPath'], 'lib', '_internal',
|
|
|