| OLD | NEW |
| 1 dart_library.library('collection/src/unmodifiable_wrappers', null, /* Imports */
[ | 1 dart_library.library('collection/src/unmodifiable_wrappers', null, /* Imports */
[ |
| 2 "dart/_runtime", | 2 "dart/_runtime", |
| 3 'dart/collection', | 3 'dart/collection', |
| 4 'dart/core' | 4 'dart/core' |
| 5 ], /* Lazy imports */[ | 5 ], /* Lazy imports */[ |
| 6 'collection/wrappers' | 6 'collection/wrappers' |
| 7 ], function(exports, dart, collection, core, wrappers) { | 7 ], function(exports, dart, collection, core, wrappers) { |
| 8 'use strict'; | 8 'use strict'; |
| 9 let dartx = dart.dartx; | 9 let dartx = dart.dartx; |
| 10 dart.export(exports, collection, ['UnmodifiableListView', 'UnmodifiableMapView
'], []); | 10 dart.export_(exports, collection, ['UnmodifiableListView', 'UnmodifiableMapVie
w'], []); |
| 11 const NonGrowableListMixin$ = dart.generic(function(E) { | 11 const NonGrowableListMixin$ = dart.generic(function(E) { |
| 12 class NonGrowableListMixin extends core.Object { | 12 class NonGrowableListMixin extends core.Object { |
| 13 static _throw() { | 13 static _throw() { |
| 14 dart.throw(new core.UnsupportedError("Cannot change the length of a fixe
d-length list")); | 14 dart.throw(new core.UnsupportedError("Cannot change the length of a fixe
d-length list")); |
| 15 } | 15 } |
| 16 set length(newLength) { | 16 set length(newLength) { |
| 17 return NonGrowableListMixin$()._throw(); | 17 return NonGrowableListMixin$()._throw(); |
| 18 } | 18 } |
| 19 add(value) { | 19 add(value) { |
| 20 dart.as(value, E); | 20 dart.as(value, E); |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 // Exports: | 220 // Exports: |
| 221 exports.NonGrowableListMixin$ = NonGrowableListMixin$; | 221 exports.NonGrowableListMixin$ = NonGrowableListMixin$; |
| 222 exports.NonGrowableListMixin = NonGrowableListMixin; | 222 exports.NonGrowableListMixin = NonGrowableListMixin; |
| 223 exports.NonGrowableListView$ = NonGrowableListView$; | 223 exports.NonGrowableListView$ = NonGrowableListView$; |
| 224 exports.UnmodifiableSetMixin$ = UnmodifiableSetMixin$; | 224 exports.UnmodifiableSetMixin$ = UnmodifiableSetMixin$; |
| 225 exports.UnmodifiableSetMixin = UnmodifiableSetMixin; | 225 exports.UnmodifiableSetMixin = UnmodifiableSetMixin; |
| 226 exports.UnmodifiableSetView$ = UnmodifiableSetView$; | 226 exports.UnmodifiableSetView$ = UnmodifiableSetView$; |
| 227 exports.UnmodifiableMapMixin$ = UnmodifiableMapMixin$; | 227 exports.UnmodifiableMapMixin$ = UnmodifiableMapMixin$; |
| 228 exports.UnmodifiableMapMixin = UnmodifiableMapMixin; | 228 exports.UnmodifiableMapMixin = UnmodifiableMapMixin; |
| 229 }); | 229 }); |
| OLD | NEW |