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

Side by Side Diff: dart/tests/compiler/dart2js/unparser2_test.dart

Issue 11184046: Clean up leg.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased on CL 11187067 Created 8 years, 2 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 | Annotate | Revision Log
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 #import("../../../lib/compiler/implementation/scanner/scannerlib.dart"); 5 import "../../../lib/compiler/implementation/scanner/scannerlib.dart";
6 #import("../../../lib/compiler/implementation/elements/elements.dart"); // only need CompilationUnitElement 6 import "../../../lib/compiler/implementation/elements/elements.dart" show Compil ationUnitElement, LibraryElement;
7 #import("../../../lib/compiler/implementation/tree/tree.dart"); 7 import "../../../lib/compiler/implementation/tree/tree.dart";
8 #import("../../../lib/compiler/implementation/leg.dart"); // only need Diagnosti cListener & Script 8 import "../../../lib/compiler/implementation/dart2jslib.dart" show DiagnosticLis tener, Script;
9 9
10 main() { 10 main() {
11 testClassDef(); 11 testClassDef();
12 testClass1Field(); 12 testClass1Field();
13 testClass2Fields(); 13 testClass2Fields();
14 testClass1Field1Method(); 14 testClass1Field1Method();
15 testClass1Field2Method(); 15 testClass1Field2Method();
16 testClassDefTypeParam(); 16 testClassDefTypeParam();
17 } 17 }
18 18
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 } 73 }
74 void internalErrorOnElement(Element element, String message) { 74 void internalErrorOnElement(Element element, String message) {
75 throw message; 75 throw message;
76 } 76 }
77 void internalError(String message, 77 void internalError(String message,
78 {Node node, Token token, dynamic instruction, 78 {Node node, Token token, dynamic instruction,
79 Element element}) { 79 Element element}) {
80 throw message; 80 throw message;
81 } 81 }
82 } 82 }
OLDNEW
« no previous file with comments | « dart/tests/compiler/dart2js/type_equals_test.dart ('k') | dart/tests/compiler/dart2js/value_range2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698