Index: pkg/analyzer_plugin/tool/spec/codegen_dart_protocol.dart |
diff --git a/pkg/analyzer_plugin/tool/spec/codegen_dart_protocol.dart b/pkg/analyzer_plugin/tool/spec/codegen_dart_protocol.dart |
index c0992f6a539b1a1f080bd992e6a47e1153d56488..9fb8ad39e80e21392dbf7c8d29a820eae9aace53 100644 |
--- a/pkg/analyzer_plugin/tool/spec/codegen_dart_protocol.dart |
+++ b/pkg/analyzer_plugin/tool/spec/codegen_dart_protocol.dart |
@@ -29,7 +29,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); |