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

Side by Side Diff: tests/lib/mirrors/deferred_mirrors_metadata_test.dart

Issue 180843012: Make deferred loading and meta-data play better. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
« no previous file with comments | « tests/lib/mirrors/deferred_mirrors_metadata_lib.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 @A(const B())
2 library main;
3
4 @B()
5 import 'package:async_helper/async_helper.dart';
6 import 'package:expect/expect.dart';
7
8 import "dart:async";
9 import "dart:math";
10
11 @l import 'deferred_mirrors_metadata_lib.dart' as lib1;
12
13 const l = const DeferredLibrary("lib1");
14
15
16 class A {
17 final B b;
18 const A(this.b);
19 String toString() => "A";
20 }
21
22 class B {
23 const B();
24 String toString() => "B";
25 }
26
27 class C {
28 const C();
29 String toString() => "C";
30 }
31
32 void main() {
33 asyncStart();
34 l.load().then((_) {
35 Expect.equals("ABC", lib1.foo());
36 asyncEnd();
37 });
38 }
OLDNEW
« no previous file with comments | « tests/lib/mirrors/deferred_mirrors_metadata_lib.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698