Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: tests/compiler/dart2js/related_types.dart

Issue 2860753005: Make elements/names.dart its own library (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/patch_test.dart ('k') | tests/compiler/dart2js/semantic_visitor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698