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

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

Issue 1284593003: Remove dart2jslib.dart (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
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 // Test that the additional runtime type support is output to the right 5 // Test that the additional runtime type support is output to the right
6 // Files when using deferred loading. 6 // Files when using deferred loading.
7 7
8 import 'package:async_helper/async_helper.dart'; 8 import 'package:async_helper/async_helper.dart';
9 import 'package:compiler/src/dart2jslib.dart'; 9 import 'package:compiler/src/compiler.dart';
10 import 'package:compiler/src/js_backend/js_backend.dart' 10 import 'package:compiler/src/js_backend/js_backend.dart'
11 show JavaScriptBackend; 11 show JavaScriptBackend;
12 import 'package:expect/expect.dart'; 12 import 'package:expect/expect.dart';
13 import 'memory_compiler.dart'; 13 import 'memory_compiler.dart';
14 import 'output_collector.dart'; 14 import 'output_collector.dart';
15 15
16 void main() { 16 void main() {
17 asyncTest(() async { 17 asyncTest(() async {
18 OutputCollector collector = new OutputCollector(); 18 OutputCollector collector = new OutputCollector();
19 CompilationResult result = await runCompiler( 19 CompilationResult result = await runCompiler(
(...skipping 26 matching lines...) Expand all
46 class A<T> {} 46 class A<T> {}
47 47
48 class B<T> implements A<T> {} 48 class B<T> implements A<T> {}
49 49
50 B<B> instance = new B<B>(); 50 B<B> instance = new B<B>();
51 51
52 bool f (Object o) { 52 bool f (Object o) {
53 return o is A<A>; 53 return o is A<A>;
54 } 54 }
55 """,}; 55 """,};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698