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

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

Issue 694353007: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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) 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 import 'package:expect/expect.dart'; 5 import 'package:expect/expect.dart';
6 import "package:async_helper/async_helper.dart"; 6 import "package:async_helper/async_helper.dart";
7 import 'memory_source_file_helper.dart'; 7 import 'memory_source_file_helper.dart';
8 import "memory_compiler.dart"; 8 import "memory_compiler.dart";
9 import "dart:async"; 9 import "dart:async";
10 10
11 import 'package:compiler/implementation/dart2jslib.dart' 11 import 'package:compiler/src/dart2jslib.dart'
12 as dart2js; 12 as dart2js;
13 13
14 runTest(String mainScript, test) { 14 runTest(String mainScript, test) {
15 Compiler compiler = compilerFor(MEMORY_SOURCE_FILES, 15 Compiler compiler = compilerFor(MEMORY_SOURCE_FILES,
16 outputProvider: new OutputCollector()); 16 outputProvider: new OutputCollector());
17 asyncTest(() => compiler.run(Uri.parse(mainScript)) 17 asyncTest(() => compiler.run(Uri.parse(mainScript))
18 .then((_) => test(compiler))); 18 .then((_) => test(compiler)));
19 } 19 }
20 20
21 void main() { 21 void main() {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 class D2 { 111 class D2 {
112 D2(x) { 112 D2(x) {
113 d(); 113 d();
114 } 114 }
115 } 115 }
116 116
117 // Implicit redirecting "super" call with a parameter via mixin. 117 // Implicit redirecting "super" call with a parameter via mixin.
118 class D3 = D2 with D1; 118 class D3 = D2 with D1;
119 """, 119 """,
120 }; 120 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698