| 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 '../../../sdk/lib/_internal/compiler/implementation/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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 class D2 { | 107 class D2 { |
| 108 D2(x) { | 108 D2(x) { |
| 109 d(); | 109 d(); |
| 110 } | 110 } |
| 111 } | 111 } |
| 112 | 112 |
| 113 // Implicit redirecting "super" call with a parameter via mixin. | 113 // Implicit redirecting "super" call with a parameter via mixin. |
| 114 class D3 = D2 with D1; | 114 class D3 = D2 with D1; |
| 115 """, | 115 """, |
| 116 }; | 116 }; |
| OLD | NEW |