| OLD | NEW |
| 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 import "package:expect/expect.dart"; | |
| 6 import "../../../sdk/lib/_internal/compiler/implementation/scanner/scannerlib.da
rt"; | 5 import "../../../sdk/lib/_internal/compiler/implementation/scanner/scannerlib.da
rt"; |
| 7 import "../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart"; | 6 import "../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart"; |
| 8 | 7 |
| 9 import "../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart" | 8 import "../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart" |
| 10 show DiagnosticListener, | 9 show DiagnosticListener, |
| 11 Script; | 10 Script; |
| 12 | 11 |
| 13 import "../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar
t" | 12 import "../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar
t" |
| 14 show CompilationUnitElement, | 13 show CompilationUnitElement, |
| 15 LibraryElement; | 14 LibraryElement; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 } | 83 } |
| 85 void internalErrorOnElement(Element element, String message) { | 84 void internalErrorOnElement(Element element, String message) { |
| 86 throw message; | 85 throw message; |
| 87 } | 86 } |
| 88 void internalError(String message, | 87 void internalError(String message, |
| 89 {Node node, Token token, dynamic instruction, | 88 {Node node, Token token, dynamic instruction, |
| 90 Element element}) { | 89 Element element}) { |
| 91 throw message; | 90 throw message; |
| 92 } | 91 } |
| 93 } | 92 } |
| OLD | NEW |