| OLD | NEW |
| 1 var _internal = dart.defineLibrary(_internal, {}); | 1 var _internal = dart.defineLibrary(_internal, {}); |
| 2 var core = dart.import(core); | 2 var core = dart.import(core); |
| 3 var collection = dart.import(collection); | 3 var collection = dart.import(collection); |
| 4 var math = dart.lazyImport(math); | 4 var math = dart.lazyImport(math); |
| 5 var _interceptors = dart.lazyImport(_interceptors); | 5 var _interceptors = dart.lazyImport(_interceptors); |
| 6 var _js_primitives = dart.lazyImport(_js_primitives); | 6 var _js_primitives = dart.lazyImport(_js_primitives); |
| 7 (function(exports, core, collection, math, _interceptors, _js_primitives) { | 7 (function(exports, core, collection, math, _interceptors, _js_primitives) { |
| 8 'use strict'; | 8 'use strict'; |
| 9 class EfficientLength extends core.Object {} | 9 class EfficientLength extends core.Object {} |
| 10 let ListIterable$ = dart.generic(function(E) { | 10 let ListIterable$ = dart.generic(function(E) { |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 this[_current] = this[_iterable][core.$elementAt](this[_index]); | 359 this[_current] = this[_iterable][core.$elementAt](this[_index]); |
| 360 this[_index] = dart.notNull(this[_index]) + 1; | 360 this[_index] = dart.notNull(this[_index]) + 1; |
| 361 return true; | 361 return true; |
| 362 } | 362 } |
| 363 } | 363 } |
| 364 ListIterator[dart.implements] = () => [core.Iterator$(E)]; | 364 ListIterator[dart.implements] = () => [core.Iterator$(E)]; |
| 365 return ListIterator; | 365 return ListIterator; |
| 366 }); | 366 }); |
| 367 let ListIterator = ListIterator$(); | 367 let ListIterator = ListIterator$(); |
| 368 let _Transformation$ = dart.generic(function(S, T) { | 368 let _Transformation$ = dart.generic(function(S, T) { |
| 369 let _Transformation = dart.typedef('_Transformation', dart.functionType(T, [
S])); | 369 let _Transformation = dart.typedef('_Transformation', () => dart.functionTyp
e(T, [S])); |
| 370 return _Transformation; | 370 return _Transformation; |
| 371 }); | 371 }); |
| 372 let _Transformation = _Transformation$(); | 372 let _Transformation = _Transformation$(); |
| 373 let _f = dart.JsSymbol('_f'); | 373 let _f = dart.JsSymbol('_f'); |
| 374 let MappedIterable$ = dart.generic(function(S, T) { | 374 let MappedIterable$ = dart.generic(function(S, T) { |
| 375 class MappedIterable extends collection.IterableBase$(T) { | 375 class MappedIterable extends collection.IterableBase$(T) { |
| 376 MappedIterable(iterable, func) { | 376 MappedIterable(iterable, func) { |
| 377 if (dart.is(iterable, EfficientLength)) { | 377 if (dart.is(iterable, EfficientLength)) { |
| 378 return new (EfficientLengthMappedIterable$(S, T))(iterable, func); | 378 return new (EfficientLengthMappedIterable$(S, T))(iterable, func); |
| 379 } | 379 } |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 } | 456 } |
| 457 [core.$elementAt](index) { | 457 [core.$elementAt](index) { |
| 458 return this[_f](this[_source][core.$elementAt](index)); | 458 return this[_f](this[_source][core.$elementAt](index)); |
| 459 } | 459 } |
| 460 } | 460 } |
| 461 MappedListIterable[dart.implements] = () => [EfficientLength]; | 461 MappedListIterable[dart.implements] = () => [EfficientLength]; |
| 462 return MappedListIterable; | 462 return MappedListIterable; |
| 463 }); | 463 }); |
| 464 let MappedListIterable = MappedListIterable$(); | 464 let MappedListIterable = MappedListIterable$(); |
| 465 let _ElementPredicate$ = dart.generic(function(E) { | 465 let _ElementPredicate$ = dart.generic(function(E) { |
| 466 let _ElementPredicate = dart.typedef('_ElementPredicate', dart.functionType(
core.bool, [E])); | 466 let _ElementPredicate = dart.typedef('_ElementPredicate', () => dart.functio
nType(core.bool, [E])); |
| 467 return _ElementPredicate; | 467 return _ElementPredicate; |
| 468 }); | 468 }); |
| 469 let _ElementPredicate = _ElementPredicate$(); | 469 let _ElementPredicate = _ElementPredicate$(); |
| 470 let WhereIterable$ = dart.generic(function(E) { | 470 let WhereIterable$ = dart.generic(function(E) { |
| 471 class WhereIterable extends collection.IterableBase$(E) { | 471 class WhereIterable extends collection.IterableBase$(E) { |
| 472 WhereIterable(iterable, f) { | 472 WhereIterable(iterable, f) { |
| 473 this[_iterable] = iterable; | 473 this[_iterable] = iterable; |
| 474 this[_f] = f; | 474 this[_f] = f; |
| 475 super.IterableBase(); | 475 super.IterableBase(); |
| 476 } | 476 } |
| (...skipping 19 matching lines...) Expand all Loading... |
| 496 return false; | 496 return false; |
| 497 } | 497 } |
| 498 get current() { | 498 get current() { |
| 499 return this[_iterator].current; | 499 return this[_iterator].current; |
| 500 } | 500 } |
| 501 } | 501 } |
| 502 return WhereIterator; | 502 return WhereIterator; |
| 503 }); | 503 }); |
| 504 let WhereIterator = WhereIterator$(); | 504 let WhereIterator = WhereIterator$(); |
| 505 let _ExpandFunction$ = dart.generic(function(S, T) { | 505 let _ExpandFunction$ = dart.generic(function(S, T) { |
| 506 let _ExpandFunction = dart.typedef('_ExpandFunction', dart.functionType(core
.Iterable$(T), [S])); | 506 let _ExpandFunction = dart.typedef('_ExpandFunction', () => dart.functionTyp
e(core.Iterable$(T), [S])); |
| 507 return _ExpandFunction; | 507 return _ExpandFunction; |
| 508 }); | 508 }); |
| 509 let _ExpandFunction = _ExpandFunction$(); | 509 let _ExpandFunction = _ExpandFunction$(); |
| 510 let ExpandIterable$ = dart.generic(function(S, T) { | 510 let ExpandIterable$ = dart.generic(function(S, T) { |
| 511 class ExpandIterable extends collection.IterableBase$(T) { | 511 class ExpandIterable extends collection.IterableBase$(T) { |
| 512 ExpandIterable(iterable, f) { | 512 ExpandIterable(iterable, f) { |
| 513 this[_iterable] = iterable; | 513 this[_iterable] = iterable; |
| 514 this[_f] = f; | 514 this[_f] = f; |
| 515 super.IterableBase(); | 515 super.IterableBase(); |
| 516 } | 516 } |
| (...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1292 return new core.StateError("No element"); | 1292 return new core.StateError("No element"); |
| 1293 } | 1293 } |
| 1294 static tooMany() { | 1294 static tooMany() { |
| 1295 return new core.StateError("Too many elements"); | 1295 return new core.StateError("Too many elements"); |
| 1296 } | 1296 } |
| 1297 static tooFew() { | 1297 static tooFew() { |
| 1298 return new core.StateError("Too few elements"); | 1298 return new core.StateError("Too few elements"); |
| 1299 } | 1299 } |
| 1300 } | 1300 } |
| 1301 let __CastType0$ = dart.generic(function(S, T) { | 1301 let __CastType0$ = dart.generic(function(S, T) { |
| 1302 let __CastType0 = dart.typedef('__CastType0', dart.functionType(core.Iterabl
e$(T), [S])); | 1302 let __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core.I
terable$(T), [S])); |
| 1303 return __CastType0; | 1303 return __CastType0; |
| 1304 }); | 1304 }); |
| 1305 let __CastType0 = __CastType0$(); | 1305 let __CastType0 = __CastType0$(); |
| 1306 let __CastType2$ = dart.generic(function(E) { | 1306 let __CastType2$ = dart.generic(function(E) { |
| 1307 let __CastType2 = dart.typedef('__CastType2', dart.functionType(core.bool, [
E])); | 1307 let __CastType2 = dart.typedef('__CastType2', () => dart.functionType(core.b
ool, [E])); |
| 1308 return __CastType2; | 1308 return __CastType2; |
| 1309 }); | 1309 }); |
| 1310 let __CastType2 = __CastType2$(); | 1310 let __CastType2 = __CastType2$(); |
| 1311 let __CastType4$ = dart.generic(function(E) { | 1311 let __CastType4$ = dart.generic(function(E) { |
| 1312 let __CastType4 = dart.typedef('__CastType4', dart.functionType(core.bool, [
E])); | 1312 let __CastType4 = dart.typedef('__CastType4', () => dart.functionType(core.b
ool, [E])); |
| 1313 return __CastType4; | 1313 return __CastType4; |
| 1314 }); | 1314 }); |
| 1315 let __CastType4 = __CastType4$(); | 1315 let __CastType4 = __CastType4$(); |
| 1316 let __CastType6$ = dart.generic(function(T) { | 1316 let __CastType6$ = dart.generic(function(T) { |
| 1317 let __CastType6 = dart.typedef('__CastType6', dart.functionType(core.bool, [
T])); | 1317 let __CastType6 = dart.typedef('__CastType6', () => dart.functionType(core.b
ool, [T])); |
| 1318 return __CastType6; | 1318 return __CastType6; |
| 1319 }); | 1319 }); |
| 1320 let __CastType6 = __CastType6$(); | 1320 let __CastType6 = __CastType6$(); |
| 1321 let FixedLengthListMixin$ = dart.generic(function(E) { | 1321 let FixedLengthListMixin$ = dart.generic(function(E) { |
| 1322 class FixedLengthListMixin extends core.Object { | 1322 class FixedLengthListMixin extends core.Object { |
| 1323 set length(newLength) { | 1323 set length(newLength) { |
| 1324 throw new core.UnsupportedError("Cannot change the length of a fixed-len
gth list"); | 1324 throw new core.UnsupportedError("Cannot change the length of a fixed-len
gth list"); |
| 1325 } | 1325 } |
| 1326 add(value) { | 1326 add(value) { |
| 1327 dart.as(value, E); | 1327 dart.as(value, E); |
| (...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2039 exports.ReversedListIterable = ReversedListIterable; | 2039 exports.ReversedListIterable = ReversedListIterable; |
| 2040 exports.UnmodifiableListError = UnmodifiableListError; | 2040 exports.UnmodifiableListError = UnmodifiableListError; |
| 2041 exports.NonGrowableListError = NonGrowableListError; | 2041 exports.NonGrowableListError = NonGrowableListError; |
| 2042 exports.makeListFixedLength = makeListFixedLength; | 2042 exports.makeListFixedLength = makeListFixedLength; |
| 2043 exports.Lists = Lists; | 2043 exports.Lists = Lists; |
| 2044 exports.printToConsole = printToConsole; | 2044 exports.printToConsole = printToConsole; |
| 2045 exports.Sort = Sort; | 2045 exports.Sort = Sort; |
| 2046 exports.Symbol = Symbol; | 2046 exports.Symbol = Symbol; |
| 2047 exports.POWERS_OF_TEN = POWERS_OF_TEN; | 2047 exports.POWERS_OF_TEN = POWERS_OF_TEN; |
| 2048 })(_internal, core, collection, math, _interceptors, _js_primitives); | 2048 })(_internal, core, collection, math, _interceptors, _js_primitives); |
| OLD | NEW |