OLD | NEW |
1 dart_library.library('covariance', null, /* Imports */[ | 1 dart_library.library('covariance', null, /* Imports */[ |
2 "dart/_runtime", | 2 'dart/_runtime', |
3 'dart/core' | 3 'dart/core' |
4 ], /* Lazy imports */[ | 4 ], /* Lazy imports */[ |
5 ], function(exports, dart, core) { | 5 ], function(exports, dart, core) { |
6 'use strict'; | 6 'use strict'; |
7 let dartx = dart.dartx; | 7 let dartx = dart.dartx; |
8 const _t = Symbol('_t'); | 8 const _t = Symbol('_t'); |
9 const Foo$ = dart.generic(function(T) { | 9 const Foo$ = dart.generic(function(T) { |
10 class Foo extends core.Object { | 10 class Foo extends core.Object { |
11 Foo() { | 11 Foo() { |
12 this[_t] = null; | 12 this[_t] = null; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 let foo = new Bar(); | 45 let foo = new Bar(); |
46 foo.add('hi'); | 46 foo.add('hi'); |
47 } | 47 } |
48 dart.fn(main); | 48 dart.fn(main); |
49 // Exports: | 49 // Exports: |
50 exports.Foo$ = Foo$; | 50 exports.Foo$ = Foo$; |
51 exports.Foo = Foo; | 51 exports.Foo = Foo; |
52 exports.Bar = Bar; | 52 exports.Bar = Bar; |
53 exports.main = main; | 53 exports.main = main; |
54 }); | 54 }); |
OLD | NEW |