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

Side by Side Diff: pkg/compiler/lib/compiler.dart

Issue 2221893003: pkg/compiler: fix imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « pkg/compiler/bin/resolver.dart ('k') | pkg/compiler/lib/compiler_new.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 compiler; 5 library compiler;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8
8 import 'package:package_config/packages.dart'; 9 import 'package:package_config/packages.dart';
10
9 import 'compiler_new.dart' as new_api; 11 import 'compiler_new.dart' as new_api;
12 import 'src/old_to_new_api.dart';
10 import 'src/options.dart' show CompilerOptions; 13 import 'src/options.dart' show CompilerOptions;
11 import 'src/old_to_new_api.dart';
12 14
13 // Unless explicitly allowed, passing [:null:] for any argument to the 15 // Unless explicitly allowed, passing [:null:] for any argument to the
14 // methods of library will result in an Error being thrown. 16 // methods of library will result in an Error being thrown.
15 17
16 /** 18 /**
17 * Returns a future that completes to the source corresponding to [uri]. 19 * Returns a future that completes to the source corresponding to [uri].
18 * If an exception occurs, the future completes with this exception. 20 * If an exception occurs, the future completes with this exception.
19 * 21 *
20 * The source can be represented either as a [:List<int>:] of UTF-8 bytes or as 22 * The source can be represented either as a [:List<int>:] of UTF-8 bytes or as
21 * a [String]. 23 * a [String].
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 final String name; 200 final String name;
199 201
200 /** 202 /**
201 * This constructor is not private to support user-defined 203 * This constructor is not private to support user-defined
202 * diagnostic kinds. 204 * diagnostic kinds.
203 */ 205 */
204 const Diagnostic(this.ordinal, this.name); 206 const Diagnostic(this.ordinal, this.name);
205 207
206 String toString() => name; 208 String toString() => name;
207 } 209 }
OLDNEW
« no previous file with comments | « pkg/compiler/bin/resolver.dart ('k') | pkg/compiler/lib/compiler_new.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698