| 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:developer' 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 CompilerImpl; | 15 CompilerImpl; |
| 16 | 16 |
| 17 import 'package:compiler/compiler_new.dart' show | 17 import 'package:compiler/compiler_new.dart' show |
| 18 CompilerDiagnostics, | 18 CompilerDiagnostics, |
| 19 CompilerInput, | 19 CompilerInput, |
| 20 CompilerOutput, | 20 CompilerOutput, |
| 21 CompilerOptions, | |
| 22 Diagnostic; | 21 Diagnostic; |
| 23 | 22 |
| 23 import 'package:compiler/src/options.dart' show |
| 24 CompilerOptions; |
| 25 |
| 24 import 'package:compiler/src/null_compiler_output.dart' show | 26 import 'package:compiler/src/null_compiler_output.dart' show |
| 25 NullCompilerOutput; | 27 NullCompilerOutput; |
| 26 | 28 |
| 27 import 'package:compiler/src/js_backend/js_backend.dart' show | 29 import 'package:compiler/src/js_backend/js_backend.dart' show |
| 28 JavaScriptBackend; | 30 JavaScriptBackend; |
| 29 | 31 |
| 30 import 'package:compiler/src/js_emitter/full_emitter/emitter.dart' | 32 import 'package:compiler/src/js_emitter/full_emitter/emitter.dart' |
| 31 as full show Emitter; | 33 as full show Emitter; |
| 32 | 34 |
| 33 import 'package:compiler/src/elements/elements.dart' show | 35 import 'package:compiler/src/elements/elements.dart' show |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 } | 164 } |
| 163 } | 165 } |
| 164 | 166 |
| 165 class IncrementalCompilationFailed { | 167 class IncrementalCompilationFailed { |
| 166 final String reason; | 168 final String reason; |
| 167 | 169 |
| 168 const IncrementalCompilationFailed(this.reason); | 170 const IncrementalCompilationFailed(this.reason); |
| 169 | 171 |
| 170 String toString() => "Can't incrementally compile program.\n\n$reason"; | 172 String toString() => "Can't incrementally compile program.\n\n$reason"; |
| 171 } | 173 } |
| OLD | NEW |