Index: pkg/analyzer_plugin/tool/spec/codegen_protocol_constants.dart |
diff --git a/pkg/analyzer_plugin/tool/spec/codegen_protocol_constants.dart b/pkg/analyzer_plugin/tool/spec/codegen_protocol_constants.dart |
index 2e0d22d56085072c1d4303d2b9820af8b0c20aa8..d224c46512b2dfd57ecc9c8705714958ac5a35b4 100644 |
--- a/pkg/analyzer_plugin/tool/spec/codegen_protocol_constants.dart |
+++ b/pkg/analyzer_plugin/tool/spec/codegen_protocol_constants.dart |
@@ -8,8 +8,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); |
}); |