Index: pkg/analysis_server/tool/spec/codegen_protocol_constants.dart |
diff --git a/pkg/analysis_server/tool/spec/codegen_protocol_constants.dart b/pkg/analysis_server/tool/spec/codegen_protocol_constants.dart |
index 223d59b54df74097dd9a3ae5bc56a4ffa64cd9c1..cdb7c6a24540a5a88576ae30c46005b074491d59 100644 |
--- a/pkg/analysis_server/tool/spec/codegen_protocol_constants.dart |
+++ b/pkg/analysis_server/tool/spec/codegen_protocol_constants.dart |
@@ -9,8 +9,8 @@ import 'api.dart'; |
import 'codegen_dart.dart'; |
import 'from_html.dart'; |
-final GeneratedFile target = |
- new GeneratedFile('lib/protocol/protocol_constants.dart', (String pkgPath) { |
+final GeneratedFile target = new GeneratedFile( |
+ 'lib/protocol/protocol_constants.dart', (String pkgPath) async { |
CodegenVisitor visitor = new CodegenVisitor(readApi(pkgPath)); |
return visitor.collectCode(visitor.visitApi); |
}); |