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

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

Issue 341923005: Update imports to use package:compiler and package:try. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r37512. Created 6 years, 6 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 | Annotate | Revision Log
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 import 'package:expect/expect.dart'; 5 import 'package:expect/expect.dart';
6 import "package:async_helper/async_helper.dart"; 6 import "package:async_helper/async_helper.dart";
7 import 'memory_source_file_helper.dart'; 7 import 'memory_source_file_helper.dart';
8 8
9 import '../../../sdk/lib/_internal/compiler/compiler.dart' 9 import 'package:compiler/compiler.dart'
10 show Diagnostic; 10 show Diagnostic;
11 11
12 main() { 12 main() {
13 Uri script = currentDirectory.resolveUri(Platform.script); 13 Uri script = currentDirectory.resolveUri(Platform.script);
14 Uri libraryRoot = script.resolve('../../../sdk/'); 14 Uri libraryRoot = script.resolve('../../../sdk/');
15 Uri packageRoot = script.resolve('./packages/'); 15 Uri packageRoot = script.resolve('./packages/');
16 16
17 var provider = new MemorySourceFileProvider(MEMORY_SOURCE_FILES); 17 var provider = new MemorySourceFileProvider(MEMORY_SOURCE_FILES);
18 var diagnostics = []; 18 var diagnostics = [];
19 void diagnosticHandler(Uri uri, int begin, int end, 19 void diagnosticHandler(Uri uri, int begin, int end,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 hest() {} 67 hest() {}
68 """, 68 """,
69 'exporter.dart': """ 69 'exporter.dart': """
70 library exporter; 70 library exporter;
71 71
72 export 'library.dart'; 72 export 'library.dart';
73 73
74 hest() {} 74 hest() {}
75 """, 75 """,
76 }; 76 };
OLDNEW
« no previous file with comments | « dart/tests/compiler/dart2js/deferred_not_in_main_test.dart ('k') | dart/tests/compiler/dart2js/dump_info_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698