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

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

Issue 1286143003: Move diagnostic_listener.dart and messages.dart to the diagnostics folder (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 dart2js.test.memory_compiler; 5 library dart2js.test.memory_compiler;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:compiler/compiler.dart' show 9 import 'package:compiler/compiler.dart' show
10 DiagnosticHandler; 10 DiagnosticHandler;
11 import 'package:compiler/compiler_new.dart' show 11 import 'package:compiler/compiler_new.dart' show
12 CompilationResult, 12 CompilationResult,
13 CompilerDiagnostics, 13 CompilerDiagnostics,
14 CompilerOutput, 14 CompilerOutput,
15 Diagnostic, 15 Diagnostic,
16 PackagesDiscoveryProvider; 16 PackagesDiscoveryProvider;
17 import 'package:compiler/src/messages.dart' show 17 import 'package:compiler/src/diagnostics/messages.dart' show
18 Message; 18 Message;
19 import 'package:compiler/src/mirrors/source_mirrors.dart'; 19 import 'package:compiler/src/mirrors/source_mirrors.dart';
20 import 'package:compiler/src/mirrors/analyze.dart'; 20 import 'package:compiler/src/mirrors/analyze.dart';
21 import 'package:compiler/src/null_compiler_output.dart' show 21 import 'package:compiler/src/null_compiler_output.dart' show
22 NullCompilerOutput; 22 NullCompilerOutput;
23 import 'package:compiler/src/library_loader.dart' show 23 import 'package:compiler/src/library_loader.dart' show
24 LoadedLibraries; 24 LoadedLibraries;
25 25
26 import 'memory_source_file_helper.dart'; 26 import 'memory_source_file_helper.dart';
27 27
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 createDiagnosticHandler(diagnosticHandler, provider, showDiagnostics); 323 createDiagnosticHandler(diagnosticHandler, provider, showDiagnostics);
324 324
325 List<Uri> libraries = <Uri>[]; 325 List<Uri> libraries = <Uri>[];
326 memorySourceFiles.forEach((String path, _) { 326 memorySourceFiles.forEach((String path, _) {
327 libraries.add(new Uri(scheme: 'memory', path: path)); 327 libraries.add(new Uri(scheme: 'memory', path: path));
328 }); 328 });
329 329
330 return analyze(libraries, libraryRoot, packageRoot, 330 return analyze(libraries, libraryRoot, packageRoot,
331 provider, handler, options); 331 provider, handler, options);
332 } 332 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/library_resolution_test.dart ('k') | tests/compiler/dart2js/message_kind_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698