| 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 913b9b219f061706a82d90ee9bfa55eaa9a800ea..c7e387b45e626e9dde4ebdcf4c2c8a7fe65ad315 100644
|
| --- a/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart
|
| +++ b/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart
|
| @@ -35,8 +35,8 @@ const Map<String, String> specialElementFlags = const {
|
| 'deprecated': '0x20'
|
| };
|
|
|
| -final GeneratedFile target = new GeneratedFile(
|
| - '../../lib/src/generated_protocol.dart', () {
|
| +final GeneratedFile target =
|
| + new GeneratedFile('../../lib/src/generated_protocol.dart', () {
|
| CodegenProtocolVisitor visitor = new CodegenProtocolVisitor(readApi());
|
| return visitor.collectCode(visitor.visitApi);
|
| });
|
| @@ -563,8 +563,8 @@ class CodegenProtocolVisitor extends DartCodegenVisitor with CodeGenerator {
|
| writeln('factory RefactoringOptions.fromJson(JsonDecoder jsonDecoder, '
|
| 'String jsonPath, Object json, RefactoringKind kind) {');
|
| indent(() {
|
| - writeln(
|
| - 'return _refactoringOptionsFromJson(jsonDecoder, jsonPath, ' 'json, kind);');
|
| + writeln('return _refactoringOptionsFromJson(jsonDecoder, jsonPath, '
|
| + 'json, kind);');
|
| });
|
| writeln('}');
|
| return;
|
|
|