| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library fasta.kernel_target; | 5 library fasta.kernel_target; |
| 6 | 6 |
| 7 import 'dart:async' show Future; | 7 import 'dart:async' show Future; |
| 8 | 8 |
| 9 import 'dart:io' show File, IOSink; | 9 import 'dart:io' show File, IOSink; |
| 10 | 10 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 import '../dill/dill_target.dart' show DillTarget; | 62 import '../dill/dill_target.dart' show DillTarget; |
| 63 | 63 |
| 64 import '../errors.dart' | 64 import '../errors.dart' |
| 65 show InputError, internalError, reportCrash, resetCrashReporting; | 65 show InputError, internalError, reportCrash, resetCrashReporting; |
| 66 | 66 |
| 67 import '../util/relativize.dart' show relativizeUri; | 67 import '../util/relativize.dart' show relativizeUri; |
| 68 | 68 |
| 69 import '../compiler_context.dart' show CompilerContext; | 69 import '../compiler_context.dart' show CompilerContext; |
| 70 | 70 |
| 71 import '../util/relativize.dart' show relativizeUri; | |
| 72 | |
| 73 import 'kernel_builder.dart' | 71 import 'kernel_builder.dart' |
| 74 show | 72 show |
| 75 Builder, | 73 Builder, |
| 76 ClassBuilder, | 74 ClassBuilder, |
| 77 DynamicTypeBuilder, | 75 DynamicTypeBuilder, |
| 78 InvalidTypeBuilder, | 76 InvalidTypeBuilder, |
| 79 KernelClassBuilder, | 77 KernelClassBuilder, |
| 80 KernelLibraryBuilder, | 78 KernelLibraryBuilder, |
| 81 KernelNamedTypeBuilder, | 79 KernelNamedTypeBuilder, |
| 82 KernelProcedureBuilder, | 80 KernelProcedureBuilder, |
| (...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 } | 607 } |
| 610 for (Constructor constructor in superclass.constructors) { | 608 for (Constructor constructor in superclass.constructors) { |
| 611 if (constructor.name.name.isEmpty) { | 609 if (constructor.name.name.isEmpty) { |
| 612 return constructor.function.requiredParameterCount == 0 | 610 return constructor.function.requiredParameterCount == 0 |
| 613 ? constructor | 611 ? constructor |
| 614 : null; | 612 : null; |
| 615 } | 613 } |
| 616 } | 614 } |
| 617 return null; | 615 return null; |
| 618 } | 616 } |
| OLD | NEW |