| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 related_types; | 5 library related_types; |
| 6 | 6 |
| 7 import 'package:compiler/src/commandline_options.dart'; | 7 import 'package:compiler/src/commandline_options.dart'; |
| 8 import 'package:compiler/src/compiler.dart'; | 8 import 'package:compiler/src/compiler.dart'; |
| 9 import 'package:compiler/src/common_elements.dart'; | 9 import 'package:compiler/src/common_elements.dart'; |
| 10 import 'package:compiler/src/elements/resolution_types.dart'; | 10 import 'package:compiler/src/elements/resolution_types.dart'; |
| 11 import 'package:compiler/src/diagnostics/diagnostic_listener.dart'; | 11 import 'package:compiler/src/diagnostics/diagnostic_listener.dart'; |
| 12 import 'package:compiler/src/diagnostics/messages.dart'; | 12 import 'package:compiler/src/diagnostics/messages.dart'; |
| 13 import 'package:compiler/src/elements/elements.dart'; | 13 import 'package:compiler/src/elements/elements.dart'; |
| 14 import 'package:compiler/src/elements/names.dart'; |
| 14 import 'package:compiler/src/filenames.dart'; | 15 import 'package:compiler/src/filenames.dart'; |
| 15 import 'package:compiler/src/resolution/semantic_visitor.dart'; | 16 import 'package:compiler/src/resolution/semantic_visitor.dart'; |
| 16 import 'package:compiler/src/tree/tree.dart'; | 17 import 'package:compiler/src/tree/tree.dart'; |
| 17 import 'package:compiler/src/universe/call_structure.dart'; | 18 import 'package:compiler/src/universe/call_structure.dart'; |
| 18 import 'package:compiler/src/universe/selector.dart'; | 19 import 'package:compiler/src/universe/selector.dart'; |
| 19 import 'package:compiler/src/world.dart'; | 20 import 'package:compiler/src/world.dart'; |
| 20 import 'memory_compiler.dart'; | 21 import 'memory_compiler.dart'; |
| 21 | 22 |
| 22 main(List<String> arguments) async { | 23 main(List<String> arguments) async { |
| 23 if (arguments.isNotEmpty) { | 24 if (arguments.isNotEmpty) { |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 ClassElement findClass(ResolutionDartType type) => type.accept(this, null); | 430 ClassElement findClass(ResolutionDartType type) => type.accept(this, null); |
| 430 | 431 |
| 431 @override | 432 @override |
| 432 ClassElement visitType(ResolutionDartType type, _) => null; | 433 ClassElement visitType(ResolutionDartType type, _) => null; |
| 433 | 434 |
| 434 @override | 435 @override |
| 435 ClassElement visitInterfaceType(ResolutionInterfaceType type, _) { | 436 ClassElement visitInterfaceType(ResolutionInterfaceType type, _) { |
| 436 return type.element; | 437 return type.element; |
| 437 } | 438 } |
| 438 } | 439 } |
| OLD | NEW |