| 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 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/src/dart2jslib.dart' | 11 import 'package:compiler/implementation/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 Loading... |
| 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 }; |
| OLD | NEW |