| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 import 'package:kernel/text/ast_to_text.dart' show Printer; | 44 import 'package:kernel/text/ast_to_text.dart' show Printer; |
| 45 | 45 |
| 46 import 'package:kernel/transformations/erasure.dart' show Erasure; | 46 import 'package:kernel/transformations/erasure.dart' show Erasure; |
| 47 | 47 |
| 48 import 'package:kernel/transformations/continuation.dart' as transformAsync; | 48 import 'package:kernel/transformations/continuation.dart' as transformAsync; |
| 49 | 49 |
| 50 import 'package:kernel/transformations/mixin_full_resolution.dart' | 50 import 'package:kernel/transformations/mixin_full_resolution.dart' |
| 51 show MixinFullResolution; | 51 show MixinFullResolution; |
| 52 | 52 |
| 53 import 'package:kernel/transformations/continuation.dart' as continuation; |
| 54 |
| 53 import 'package:kernel/transformations/setup_builtin_library.dart' | 55 import 'package:kernel/transformations/setup_builtin_library.dart' |
| 54 as setup_builtin_library; | 56 as setup_builtin_library; |
| 55 | 57 |
| 56 import 'package:kernel/type_algebra.dart' show substitute; | 58 import 'package:kernel/type_algebra.dart' show substitute; |
| 57 | 59 |
| 58 import '../source/source_loader.dart' show SourceLoader; | 60 import '../source/source_loader.dart' show SourceLoader; |
| 59 | 61 |
| 60 import '../source/source_class_builder.dart' show SourceClassBuilder; | 62 import '../source/source_class_builder.dart' show SourceClassBuilder; |
| 61 | 63 |
| 62 import '../target_implementation.dart' show TargetImplementation; | 64 import '../target_implementation.dart' show TargetImplementation; |
| (...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 } | 719 } |
| 718 for (Constructor constructor in superclass.constructors) { | 720 for (Constructor constructor in superclass.constructors) { |
| 719 if (constructor.name.name.isEmpty) { | 721 if (constructor.name.name.isEmpty) { |
| 720 return constructor.function.requiredParameterCount == 0 | 722 return constructor.function.requiredParameterCount == 0 |
| 721 ? constructor | 723 ? constructor |
| 722 : null; | 724 : null; |
| 723 } | 725 } |
| 724 } | 726 } |
| 725 return null; | 727 return null; |
| 726 } | 728 } |
| OLD | NEW |