OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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_incremental; | 5 library dart2js_incremental; |
6 | 6 |
7 import 'dart:async' show | 7 import 'dart:async' show |
8 EventSink, | 8 EventSink, |
9 Future; | 9 Future; |
10 | 10 |
11 import 'dart:profiler' show | 11 import 'dart:developer' show |
12 UserTag; | 12 UserTag; |
13 | 13 |
14 import 'package:compiler/src/apiimpl.dart' show | 14 import 'package:compiler/src/apiimpl.dart' show |
15 Compiler; | 15 Compiler; |
16 | 16 |
17 import 'package:compiler/compiler.dart' show | 17 import 'package:compiler/compiler.dart' show |
18 CompilerInputProvider, | 18 CompilerInputProvider, |
19 CompilerOutputProvider, | 19 CompilerOutputProvider, |
20 Diagnostic, | 20 Diagnostic, |
21 DiagnosticHandler; | 21 DiagnosticHandler; |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 } | 160 } |
161 } | 161 } |
162 | 162 |
163 class IncrementalCompilationFailed { | 163 class IncrementalCompilationFailed { |
164 final String reason; | 164 final String reason; |
165 | 165 |
166 const IncrementalCompilationFailed(this.reason); | 166 const IncrementalCompilationFailed(this.reason); |
167 | 167 |
168 String toString() => "Can't incrementally compile program.\n\n$reason"; | 168 String toString() => "Can't incrementally compile program.\n\n$reason"; |
169 } | 169 } |
OLD | NEW |