Index: pkg/analysis_server/tool/spec/codegen_dart_protocol.dart |
diff --git a/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart b/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart |
index 38bbfb6d1003d4e55d932c90a95274c7a9544112..621da412ee2dc914b29b0e257230cf73b4f1c633 100644 |
--- a/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart |
+++ b/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart |
@@ -30,7 +30,7 @@ const Map<String, String> specialElementFlags = const { |
GeneratedFile target(bool responseRequiresRequestTime) { |
return new GeneratedFile('lib/protocol/protocol_generated.dart', |
- (String pkgPath) { |
+ (String pkgPath) async { |
CodegenProtocolVisitor visitor = new CodegenProtocolVisitor( |
path.basename(pkgPath), responseRequiresRequestTime, readApi(pkgPath)); |
return visitor.collectCode(visitor.visitApi); |