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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 import 'dart:async'; | 5 import 'dart:async'; |
6 import 'dart:collection' show Queue; | 6 import 'dart:collection' show Queue; |
7 | 7 |
8 import 'package:kernel/ast.dart' as ir; | 8 import 'package:kernel/ast.dart' as ir; |
9 import 'package:kernel/checks.dart' show CheckParentPointers; | 9 import 'package:kernel/verifier.dart' show CheckParentPointers; |
10 | 10 |
11 import '../common.dart'; | 11 import '../common.dart'; |
12 import '../common/names.dart'; | 12 import '../common/names.dart'; |
13 import '../compiler.dart' show Compiler; | 13 import '../compiler.dart' show Compiler; |
14 import '../constants/expressions.dart' show TypeConstantExpression; | 14 import '../constants/expressions.dart' show TypeConstantExpression; |
15 import '../dart_types.dart' | 15 import '../dart_types.dart' |
16 show DartType, FunctionType, InterfaceType, TypeKind, TypeVariableType; | 16 show DartType, FunctionType, InterfaceType, TypeKind, TypeVariableType; |
17 import '../diagnostics/messages.dart' show MessageKind; | 17 import '../diagnostics/messages.dart' show MessageKind; |
18 import '../diagnostics/spannable.dart' show Spannable; | 18 import '../diagnostics/spannable.dart' show Spannable; |
19 import '../elements/elements.dart' | 19 import '../elements/elements.dart' |
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 } | 754 } |
755 | 755 |
756 class ConstructorTarget { | 756 class ConstructorTarget { |
757 final ConstructorElement element; | 757 final ConstructorElement element; |
758 final DartType type; | 758 final DartType type; |
759 | 759 |
760 ConstructorTarget(this.element, this.type); | 760 ConstructorTarget(this.element, this.type); |
761 | 761 |
762 String toString() => "ConstructorTarget($element, $type)"; | 762 String toString() => "ConstructorTarget($element, $type)"; |
763 } | 763 } |
OLD | NEW |