| 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 "../../../sdk/lib/_internal/compiler/implementation/scanner/scannerlib.da
rt"; | 5 import "../../../sdk/lib/_internal/compiler/implementation/scanner/scannerlib.da
rt"; |
| 6 import "../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart"; | 6 import "../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart"; |
| 7 | 7 |
| 8 import "../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart" | 8 import "../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart" |
| 9 show DiagnosticListener, | 9 show DiagnosticListener, |
| 10 Script; | 10 Script; |
| 11 | 11 |
| 12 import "../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar
t" | 12 import "../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar
t" |
| 13 show CompilationUnitElement, | 13 show CompilationUnitElement, |
| 14 LibraryElement; | 14 LibraryElement; |
| 15 | 15 |
| 16 import "../../../sdk/lib/_internal/compiler/implementation/elements/model.dart" | 16 import "../../../sdk/lib/_internal/compiler/implementation/elements/modelx.dart" |
| 17 show CompilationUnitElementX, | 17 show CompilationUnitElementX, |
| 18 LibraryElementX; | 18 LibraryElementX; |
| 19 | 19 |
| 20 main() { | 20 main() { |
| 21 testClassDef(); | 21 testClassDef(); |
| 22 testClass1Field(); | 22 testClass1Field(); |
| 23 testClass2Fields(); | 23 testClass2Fields(); |
| 24 testClass1Field1Method(); | 24 testClass1Field1Method(); |
| 25 testClass1Field2Method(); | 25 testClass1Field2Method(); |
| 26 testClassDefTypeParam(); | 26 testClassDefTypeParam(); |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 } | 83 } |
| 84 void internalErrorOnElement(Element element, String message) { | 84 void internalErrorOnElement(Element element, String message) { |
| 85 throw message; | 85 throw message; |
| 86 } | 86 } |
| 87 void internalError(String message, | 87 void internalError(String message, |
| 88 {Node node, Token token, dynamic instruction, | 88 {Node node, Token token, dynamic instruction, |
| 89 Element element}) { | 89 Element element}) { |
| 90 throw message; | 90 throw message; |
| 91 } | 91 } |
| 92 } | 92 } |
| OLD | NEW |