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

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

Issue 1348063002: Make the universe parts into small libraries. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/core_types.dart'; 9 import 'package:compiler/src/core_types.dart';
10 import 'package:compiler/src/dart_types.dart'; 10 import 'package:compiler/src/dart_types.dart';
11 import 'package:compiler/src/diagnostics/messages.dart'; 11 import 'package:compiler/src/diagnostics/messages.dart';
12 import 'package:compiler/src/elements/elements.dart'; 12 import 'package:compiler/src/elements/elements.dart';
13 import 'package:compiler/src/filenames.dart'; 13 import 'package:compiler/src/filenames.dart';
14 import 'package:compiler/src/resolution/semantic_visitor.dart'; 14 import 'package:compiler/src/resolution/semantic_visitor.dart';
15 import 'package:compiler/src/tree/tree.dart'; 15 import 'package:compiler/src/tree/tree.dart';
16 import 'package:compiler/src/universe/universe.dart'; 16 import 'package:compiler/src/universe/call_structure.dart';
17 import 'package:compiler/src/universe/selector.dart';
17 import 'package:compiler/src/world.dart'; 18 import 'package:compiler/src/world.dart';
18 import 'memory_compiler.dart'; 19 import 'memory_compiler.dart';
19 20
20 main(List<String> arguments) async { 21 main(List<String> arguments) async {
21 if (arguments.isNotEmpty) { 22 if (arguments.isNotEmpty) {
22 Uri entryPoint = Uri.base.resolve(nativeToUriPath(arguments.last)); 23 Uri entryPoint = Uri.base.resolve(nativeToUriPath(arguments.last));
23 CompilationResult result = await runCompiler( 24 CompilationResult result = await runCompiler(
24 entryPoint: entryPoint, 25 entryPoint: entryPoint,
25 options: [Flags.analyzeOnly, '--categories=Client,Server']); 26 options: [Flags.analyzeOnly, '--categories=Client,Server']);
26 if (result.isSuccess) { 27 if (result.isSuccess) {
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 ClassElement findClass(DartType type) => type.accept(this, null); 422 ClassElement findClass(DartType type) => type.accept(this, null);
422 423
423 @override 424 @override
424 ClassElement visitType(DartType type, _) => null; 425 ClassElement visitType(DartType type, _) => null;
425 426
426 @override 427 @override
427 ClassElement visitInterfaceType(InterfaceType type, _) { 428 ClassElement visitInterfaceType(InterfaceType type, _) {
428 return type.element; 429 return type.element;
429 } 430 }
430 } 431 }
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