OLD | NEW |
---|---|
1 warning: line 20, column 39 of dart:async/async_error.dart: [DownCastImplicit] e rrorHandler (Function) will need runtime check to cast to type (dynamic) → dynam ic | 1 warning: line 20, column 39 of dart:async/async_error.dart: [DownCastImplicit] e rrorHandler (Function) will need runtime check to cast to type (dynamic) → dynam ic |
2 return zone.registerUnaryCallback(errorHandler); | 2 return zone.registerUnaryCallback(errorHandler); |
3 ^^^^^^^^^^^^ | 3 ^^^^^^^^^^^^ |
4 severe: line 211, column 38 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The getter '_next' is not defined for the class 'StreamSubscription< T>' | 4 severe: line 208, column 22 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The getter '_isFiring' is not defined for the class 'StreamSubscript ion<T>' |
5 assert(!identical(subscription._next, subscription)); | 5 if (subscription._isFiring) { |
6 ^^^^^ | 6 ^^^^^^^^^ |
7 severe: line 206, column 32 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The getter '_next' is not defined for the class 'StreamSubscription< T>' | |
8 if (identical(subscription._next, subscription)) return null; | |
9 ^^^^^ | |
7 severe: line 207, column 36 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The getter '_next' is not defined for the class 'StreamSubscription< T>' | 10 severe: line 207, column 36 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The getter '_next' is not defined for the class 'StreamSubscription< T>' |
8 assert(!identical(subscription._next, subscription)); | 11 assert(!identical(subscription._next, subscription)); |
9 ^^^^^ | 12 ^^^^^ |
10 severe: line 209, column 20 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The method '_setRemoveAfterFiring' is not defined for the class 'Str eamSubscription<T>' | 13 severe: line 209, column 20 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The method '_setRemoveAfterFiring' is not defined for the class 'Str eamSubscription<T>' |
11 subscription._setRemoveAfterFiring(); | 14 subscription._setRemoveAfterFiring(); |
12 ^^^^^^^^^^^^^^^^^^^^^ | 15 ^^^^^^^^^^^^^^^^^^^^^ |
13 severe: line 208, column 22 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The getter '_isFiring' is not defined for the class 'StreamSubscript ion<T>' | 16 severe: line 211, column 38 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The getter '_next' is not defined for the class 'StreamSubscription< T>' |
14 if (subscription._isFiring) { | 17 assert(!identical(subscription._next, subscription)); |
15 ^^^^^^^^^ | 18 ^^^^^ |
16 severe: line 206, column 32 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The getter '_next' is not defined for the class 'StreamSubscription< T>' | |
17 if (identical(subscription._next, subscription)) return null; | |
18 ^^^^^ | |
19 warning: line 8, column 67 of dart:async/broadcast_stream_controller.dart: [Down CastComposite] controller (_StreamControllerLifecycle<dynamic>) will need runtim e check to cast to type _StreamControllerLifecycle<T> | 19 warning: line 8, column 67 of dart:async/broadcast_stream_controller.dart: [Down CastComposite] controller (_StreamControllerLifecycle<dynamic>) will need runtim e check to cast to type _StreamControllerLifecycle<T> |
20 _BroadcastStream(_StreamControllerLifecycle controller) : super(controller); | 20 _BroadcastStream(_StreamControllerLifecycle controller) : super(controller); |
21 ^^^^^^^^^^ | 21 ^^^^^^^^^^ |
22 warning: line 36, column 15 of dart:async/broadcast_stream_controller.dart: [Dow nCastComposite] controller (_StreamControllerLifecycle<dynamic>) will need runti me check to cast to type _StreamControllerLifecycle<T> | 22 warning: line 36, column 15 of dart:async/broadcast_stream_controller.dart: [Dow nCastComposite] controller (_StreamControllerLifecycle<dynamic>) will need runti me check to cast to type _StreamControllerLifecycle<T> |
23 : super(controller, onData, onError, onDone, cancelOnError) { | 23 : super(controller, onData, onError, onDone, cancelOnError) { |
24 ^^^^^^^^^^ | 24 ^^^^^^^^^^ |
25 warning: line 40, column 52 of dart:async/broadcast_stream_controller.dart: [Dow nCastComposite] super._controller (_StreamControllerLifecycle<T>) will need runt ime check to cast to type _BroadcastStreamController<T> | 25 warning: line 40, column 52 of dart:async/broadcast_stream_controller.dart: [Dow nCastComposite] super._controller (_StreamControllerLifecycle<T>) will need runt ime check to cast to type _BroadcastStreamController<T> |
26 _BroadcastStreamController<T> get _controller => super._controller; | 26 _BroadcastStreamController<T> get _controller => super._controller; |
27 ^^^^^^^^^^^^^^^^^ | 27 ^^^^^^^^^^^^^^^^^ |
28 warning: line 196, column 18 of dart:async/broadcast_stream_controller.dart: [Do wnCastComposite] subscription (StreamSubscription<dynamic>) will need runtime ch eck to cast to type _BroadcastSubscription<T> | 28 warning: line 196, column 18 of dart:async/broadcast_stream_controller.dart: [Do wnCastComposite] subscription (StreamSubscription<dynamic>) will need runtime ch eck to cast to type _BroadcastSubscription<T> |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
255 ^^^^ | 255 ^^^^ |
256 warning: line 1228, column 37 of dart:async/zone.dart: [DownCastImplicit] onErro r (Function) will need runtime check to cast to type (dynamic) → dynamic | 256 warning: line 1228, column 37 of dart:async/zone.dart: [DownCastImplicit] onErro r (Function) will need runtime check to cast to type (dynamic) → dynamic |
257 return self.parent.runUnary(onError, error); | 257 return self.parent.runUnary(onError, error); |
258 ^^^^^^^ | 258 ^^^^^^^ |
259 warning: line 168, column 14 of dart:isolate: [DownCastComposite] IsolateNatives .spawnFunction(entryPoint, message, paused).then((msg) => new Isolate(msg[1], pa useCapability: msg[2], terminateCapability: msg[3])) (Future<dynamic>) will need runtime check to cast to type Future<Isolate> | 259 warning: line 168, column 14 of dart:isolate: [DownCastComposite] IsolateNatives .spawnFunction(entryPoint, message, paused).then((msg) => new Isolate(msg[1], pa useCapability: msg[2], terminateCapability: msg[3])) (Future<dynamic>) will need runtime check to cast to type Future<Isolate> |
260 return IsolateNatives.spawnFunction(entryPoint, message, paused) | 260 return IsolateNatives.spawnFunction(entryPoint, message, paused) |
261 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 261 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
262 warning: line 234, column 14 of dart:isolate: [DownCastComposite] IsolateNatives .spawnUri(uri, args, message, paused).then((msg) => new Isolate(msg[1], pauseCap ability: msg[2], terminateCapability: msg[3])) (Future<dynamic>) will need runti me check to cast to type Future<Isolate> | 262 warning: line 234, column 14 of dart:isolate: [DownCastComposite] IsolateNatives .spawnUri(uri, args, message, paused).then((msg) => new Isolate(msg[1], pauseCap ability: msg[2], terminateCapability: msg[3])) (Future<dynamic>) will need runti me check to cast to type Future<Isolate> |
263 return IsolateNatives.spawnUri(uri, args, message, paused) | 263 return IsolateNatives.spawnUri(uri, args, message, paused) |
264 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 264 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
265 warning: line 50, column 69 of dart:_interceptors: [DownCastImplicit] symbol (Sy mbol) will need runtime check to cast to type Symbol | 265 warning: line 80, column 12 of dart:_interceptors/js_array.dart: [DownCastCompos ite] JS('var', r'#.pop()', this) (dynamic) will need runtime check to cast to ty pe E |
266 String _symbolToString(Symbol symbol) => _symbol_dev.Symbol.getName(symbol); | |
267 ^^^^^^ | |
268 severe: line 329, column 3 of dart:_interceptors: [InvalidMethodOverride] Invali d override. The type of JSNull.== ((dynamic) → bool) is not a subtype of Interce ptor.== ((Object) → bool). | |
269 bool operator ==(other) => identical(null, other); | |
270 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
271 warning: line 65, column 40 of dart:_interceptors/js_array.dart: [DownCastCompos ite] JS('JSArray', '#', allocation) (dynamic) will need runtime check to cast to type JSArray<E> | |
272 factory JSArray.typed(allocation) => JS('JSArray', '#', allocation); | |
273 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
274 warning: line 68, column 7 of dart:_interceptors/js_array.dart: [DownCastComposi te] JS('JSFixedArray', '#', markFixedList(new JSArray<E>.typed(allocation))) (dy namic) will need runtime check to cast to type JSArray<E> | |
275 JS('JSFixedArray', '#', markFixedList(new JSArray<E>.typed(allocation))); | |
276 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
277 warning: line 71, column 7 of dart:_interceptors/js_array.dart: [DownCastComposi te] JS('JSExtendableArray', '#', new JSArray<E>.typed(allocation)) (dynamic) wil l need runtime check to cast to type JSArray<E> | |
278 JS('JSExtendableArray', '#', new JSArray<E>.typed(allocation)); | |
279 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
280 warning: line 104, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] JS('var', r'#.splice(#, 1)[0]', this, index) (dynamic) will need runtime c heck to cast to type E | |
281 return JS('var', r'#.splice(#, 1)[0]', this, index); | |
282 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
283 warning: line 129, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] JS('var', r'#.pop()', this) (dynamic) will need runtime check to cast to t ype E | |
284 return JS('var', r'#.pop()', this); | 266 return JS('var', r'#.pop()', this); |
285 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 267 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
286 warning: line 174, column 9 of dart:_interceptors/js_array.dart: [DownCastCompos ite] JS('', '#[#]', this, i) (dynamic) will need runtime check to cast to type E | 268 warning: line 125, column 9 of dart:_interceptors/js_array.dart: [DownCastCompos ite] JS('', '#[#]', this, i) (dynamic) will need runtime check to cast to type E |
287 f(JS('', '#[#]', this, i)); | 269 f(JS('', '#[#]', this, i)); |
288 ^^^^^^^^^^^^^^^^^^^^^^^ | 270 ^^^^^^^^^^^^^^^^^^^^^^^ |
289 warning: line 210, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.reduce(this, combine) (dynamic) will need runtime check to cast to type E | 271 warning: line 161, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.reduce(this, combine) (dynamic) will need runtime check to cast to type E |
290 return IterableMixinWorkaround.reduce(this, combine); | 272 return IterableMixinWorkaround.reduce(this, combine); |
291 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 273 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
292 warning: line 218, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.firstWhere(this, test, orElse) (dynamic) will need runtime check to cast to type E | 274 warning: line 169, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.firstWhere(this, test, orElse) (dynamic) will need runtime check to cast to type E |
293 return IterableMixinWorkaround.firstWhere(this, test, orElse); | 275 return IterableMixinWorkaround.firstWhere(this, test, orElse); |
294 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 276 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
295 warning: line 222, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.lastWhereList(this, test, orElse) (dynamic) will n eed runtime check to cast to type E | 277 warning: line 173, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.lastWhereList(this, test, orElse) (dynamic) will n eed runtime check to cast to type E |
296 return IterableMixinWorkaround.lastWhereList(this, test, orElse); | 278 return IterableMixinWorkaround.lastWhereList(this, test, orElse); |
297 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 279 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
298 warning: line 226, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.singleWhere(this, test) (dynamic) will need runtim e check to cast to type E | 280 warning: line 177, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.singleWhere(this, test) (dynamic) will need runtim e check to cast to type E |
299 return IterableMixinWorkaround.singleWhere(this, test); | 281 return IterableMixinWorkaround.singleWhere(this, test); |
300 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 282 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
301 warning: line 368, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] JS('var', '#[#]', this, index) (dynamic) will need runtime check to cast t o type E | 283 warning: line 313, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] JS('var', '#[#]', this, index) (dynamic) will need runtime check to cast t o type E |
302 return JS('var', '#[#]', this, index); | 284 return JS('var', '#[#]', this, index); |
303 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 285 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
304 warning: line 83, column 28 of dart:_interceptors/js_number.dart: [DownCastImpli cit] JS('num', r'Math.ceil(#)', this) (num) will need runtime check to cast to t ype double | 286 warning: line 83, column 28 of dart:_interceptors/js_number.dart: [DownCastImpli cit] JS('num', r'Math.ceil(#)', this) (num) will need runtime check to cast to t ype double |
305 double ceilToDouble() => JS('num', r'Math.ceil(#)', this); | 287 double ceilToDouble() => JS('num', r'Math.ceil(#)', this); |
306 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 288 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
307 warning: line 85, column 29 of dart:_interceptors/js_number.dart: [DownCastImpli cit] JS('num', r'Math.floor(#)', this) (num) will need runtime check to cast to type double | 289 warning: line 85, column 29 of dart:_interceptors/js_number.dart: [DownCastImpli cit] JS('num', r'Math.floor(#)', this) (num) will need runtime check to cast to type double |
308 double floorToDouble() => JS('num', r'Math.floor(#)', this); | 290 double floorToDouble() => JS('num', r'Math.floor(#)', this); |
309 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 291 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
310 warning: line 89, column 14 of dart:_interceptors/js_number.dart: [DownCastImpli cit] JS('num', r'-Math.round(-#)', this) (num) will need runtime check to cast t o type double | 292 warning: line 89, column 14 of dart:_interceptors/js_number.dart: [DownCastImpli cit] JS('num', r'-Math.round(-#)', this) (num) will need runtime check to cast t o type double |
311 return JS('num', r'-Math.round(-#)', this); | 293 return JS('num', r'-Math.round(-#)', this); |
312 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 294 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
313 warning: line 91, column 14 of dart:_interceptors/js_number.dart: [DownCastImpli cit] JS('num', r'Math.round(#)', this) (num) will need runtime check to cast to type double | 295 warning: line 91, column 14 of dart:_interceptors/js_number.dart: [DownCastImpli cit] JS('num', r'Math.round(#)', this) (num) will need runtime check to cast to type double |
314 return JS('num', r'Math.round(#)', this); | 296 return JS('num', r'Math.round(#)', this); |
315 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 297 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
316 severe: line 110, column 17 of dart:_interceptors/js_number.dart: [StaticTypeErr or] Type check failed: this (JSNumber) is not of type double | 298 severe: line 110, column 17 of dart:_interceptors/js_number.dart: [StaticTypeErr or] Type check failed: this (JSNumber) is not of type double |
317 toDouble() => this; | 299 toDouble() => this; |
318 ^^^^ | 300 ^^^^ |
319 severe: line 344, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.abs (( ) → num) is not a subtype of int.abs (() → int). | 301 severe: line 347, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.abs (( ) → num) is not a subtype of int.abs (() → int). |
320 class JSInt extends JSNumber implements int, double { | 302 class JSInt extends JSNumber implements int, double { |
321 ^^^^^^^^^^^^^^^^ | 303 ^^^^^^^^^^^^^^^^ |
322 severe: line 344, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.unary- (() → num) is not a subtype of int.unary- (() → int). | 304 severe: line 347, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.unary- (() → num) is not a subtype of int.unary- (() → int). |
323 class JSInt extends JSNumber implements int, double { | 305 class JSInt extends JSNumber implements int, double { |
324 ^^^^^^^^^^^^^^^^ | 306 ^^^^^^^^^^^^^^^^ |
325 severe: line 344, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.<< ((n um) → num) is not a subtype of int.<< ((int) → int). | 307 severe: line 347, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.<< ((n um) → num) is not a subtype of int.<< ((int) → int). |
326 class JSInt extends JSNumber implements int, double { | 308 class JSInt extends JSNumber implements int, double { |
327 ^^^^^^^^^^^^^^^^ | 309 ^^^^^^^^^^^^^^^^ |
328 severe: line 344, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.>> ((n um) → num) is not a subtype of int.>> ((int) → int). | 310 severe: line 347, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.>> ((n um) → num) is not a subtype of int.>> ((int) → int). |
329 class JSInt extends JSNumber implements int, double { | 311 class JSInt extends JSNumber implements int, double { |
330 ^^^^^^^^^^^^^^^^ | 312 ^^^^^^^^^^^^^^^^ |
331 severe: line 344, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.& ((nu m) → num) is not a subtype of int.& ((int) → int). | 313 severe: line 347, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.& ((nu m) → num) is not a subtype of int.& ((int) → int). |
332 class JSInt extends JSNumber implements int, double { | 314 class JSInt extends JSNumber implements int, double { |
333 ^^^^^^^^^^^^^^^^ | 315 ^^^^^^^^^^^^^^^^ |
334 severe: line 344, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.| ((nu m) → num) is not a subtype of int.| ((int) → int). | 316 severe: line 347, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.| ((nu m) → num) is not a subtype of int.| ((int) → int). |
335 class JSInt extends JSNumber implements int, double { | 317 class JSInt extends JSNumber implements int, double { |
336 ^^^^^^^^^^^^^^^^ | 318 ^^^^^^^^^^^^^^^^ |
337 severe: line 344, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.^ ((nu m) → num) is not a subtype of int.^ ((int) → int). | 319 severe: line 347, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.^ ((nu m) → num) is not a subtype of int.^ ((int) → int). |
338 class JSInt extends JSNumber implements int, double { | 320 class JSInt extends JSNumber implements int, double { |
339 ^^^^^^^^^^^^^^^^ | 321 ^^^^^^^^^^^^^^^^ |
340 severe: line 344, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.sign ( () → num) is not a subtype of int.sign (() → int). | 322 severe: line 347, column 13 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.sign ( () → num) is not a subtype of int.sign (() → int). |
341 class JSInt extends JSNumber implements int, double { | 323 class JSInt extends JSNumber implements int, double { |
342 ^^^^^^^^^^^^^^^^ | 324 ^^^^^^^^^^^^^^^^ |
343 warning: line 352, column 12 of dart:_interceptors/js_number.dart: [DownCastImpl icit] this & ((1 << width) - 1) (num) will need runtime check to cast to type in t | 325 warning: line 355, column 12 of dart:_interceptors/js_number.dart: [DownCastImpl icit] this & ((1 << width) - 1) (num) will need runtime check to cast to type in t |
344 return this & ((1 << width) - 1); | 326 return this & ((1 << width) - 1); |
345 ^^^^^^^^^^^^^^^^^^^^^^^^^ | 327 ^^^^^^^^^^^^^^^^^^^^^^^^^ |
346 warning: line 357, column 12 of dart:_interceptors/js_number.dart: [DownCastImpl icit] (this & (signMask - 1)) - (this & signMask) (num) will need runtime check to cast to type int | 328 warning: line 360, column 12 of dart:_interceptors/js_number.dart: [DownCastImpl icit] (this & (signMask - 1)) - (this & signMask) (num) will need runtime check to cast to type int |
347 return (this & (signMask - 1)) - (this & signMask); | 329 return (this & (signMask - 1)) - (this & signMask); |
348 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 330 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
349 severe: line 415, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.remain der ((num) → num) is not a subtype of double.remainder ((num) → double). | 331 severe: line 418, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.remain der ((num) → num) is not a subtype of double.remainder ((num) → double). |
350 class JSDouble extends JSNumber implements double { | 332 class JSDouble extends JSNumber implements double { |
351 ^^^^^^^^^^^^^^^^ | 333 ^^^^^^^^^^^^^^^^ |
352 severe: line 415, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.abs (( ) → num) is not a subtype of double.abs (() → double). | 334 severe: line 418, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.abs (( ) → num) is not a subtype of double.abs (() → double). |
353 class JSDouble extends JSNumber implements double { | 335 class JSDouble extends JSNumber implements double { |
354 ^^^^^^^^^^^^^^^^ | 336 ^^^^^^^^^^^^^^^^ |
355 severe: line 415, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.unary- (() → num) is not a subtype of double.unary- (() → double). | 337 severe: line 418, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.unary- (() → num) is not a subtype of double.unary- (() → double). |
356 class JSDouble extends JSNumber implements double { | 338 class JSDouble extends JSNumber implements double { |
357 ^^^^^^^^^^^^^^^^ | 339 ^^^^^^^^^^^^^^^^ |
358 severe: line 415, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.+ ((nu m) → num) is not a subtype of double.+ ((num) → double). | 340 severe: line 418, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.+ ((nu m) → num) is not a subtype of double.+ ((num) → double). |
359 class JSDouble extends JSNumber implements double { | 341 class JSDouble extends JSNumber implements double { |
360 ^^^^^^^^^^^^^^^^ | 342 ^^^^^^^^^^^^^^^^ |
361 severe: line 415, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.- ((nu m) → num) is not a subtype of double.- ((num) → double). | 343 severe: line 418, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.- ((nu m) → num) is not a subtype of double.- ((num) → double). |
362 class JSDouble extends JSNumber implements double { | 344 class JSDouble extends JSNumber implements double { |
363 ^^^^^^^^^^^^^^^^ | 345 ^^^^^^^^^^^^^^^^ |
364 severe: line 415, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.* ((nu m) → num) is not a subtype of double.* ((num) → double). | 346 severe: line 418, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.* ((nu m) → num) is not a subtype of double.* ((num) → double). |
365 class JSDouble extends JSNumber implements double { | 347 class JSDouble extends JSNumber implements double { |
366 ^^^^^^^^^^^^^^^^ | 348 ^^^^^^^^^^^^^^^^ |
367 severe: line 415, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.% ((nu m) → num) is not a subtype of double.% ((num) → double). | 349 severe: line 418, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.% ((nu m) → num) is not a subtype of double.% ((num) → double). |
368 class JSDouble extends JSNumber implements double { | 350 class JSDouble extends JSNumber implements double { |
369 ^^^^^^^^^^^^^^^^ | 351 ^^^^^^^^^^^^^^^^ |
370 severe: line 415, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.sign ( () → num) is not a subtype of double.sign (() → double). | 352 severe: line 418, column 16 of dart:_interceptors/js_number.dart: [InvalidMethod Override] Base class introduces an invalid override. The type of JSNumber.sign ( () → num) is not a subtype of double.sign (() → double). |
371 class JSDouble extends JSNumber implements double { | 353 class JSDouble extends JSNumber implements double { |
372 ^^^^^^^^^^^^^^^^ | 354 ^^^^^^^^^^^^^^^^ |
373 warning: line 85, column 14 of dart:_interceptors/js_string.dart: [DownCastCompo site] JS('JSExtendableArray', r'#.split(#)', this, pattern) (dynamic) will need runtime check to cast to type List<String> | 355 warning: line 86, column 14 of dart:_interceptors/js_string.dart: [DownCastCompo site] JS('JSExtendableArray', r'#.split(#)', this, pattern) (dynamic) will need runtime check to cast to type List<String> |
374 return JS('JSExtendableArray', r'#.split(#)', this, pattern); | 356 return JS('JSExtendableArray', r'#.split(#)', this, pattern); |
375 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 357 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
376 warning: line 88, column 14 of dart:_interceptors/js_string.dart: [DownCastCompo site] JS('JSExtendableArray', r'#.split(#)', this, re) (dynamic) will need runti me check to cast to type List<String> | 358 warning: line 89, column 14 of dart:_interceptors/js_string.dart: [DownCastCompo site] JS('JSExtendableArray', r'#.split(#)', this, re) (dynamic) will need runti me check to cast to type List<String> |
377 return JS('JSExtendableArray', r'#.split(#)', this, re); | 359 return JS('JSExtendableArray', r'#.split(#)', this, re); |
378 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 360 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
379 severe: line 345, column 7 of dart:_interceptors/js_string.dart: [StaticTypeErro r] Type check failed: s += s (String) is not of type JSString | 361 severe: line 346, column 7 of dart:_interceptors/js_string.dart: [StaticTypeErro r] Type check failed: s += s (String) is not of type JSString |
380 s += s; | 362 s += s; |
381 ^^^^^^ | 363 ^^^^^^ |
382 severe: line 452, column 28 of dart:_native_typed_data: [AnalyzerError] The gett er 'length' is not defined for the class 'NativeTypedData' | 364 severe: line 452, column 28 of dart:_native_typed_data: [AnalyzerError] The gett er 'length' is not defined for the class 'NativeTypedData' |
383 if (length == list.length) { | 365 if (length == list.length) { |
384 ^^^^^^ | 366 ^^^^^^ |
385 warning: line 201, column 9 of dart:_native_typed_data: [DownCastImplicit] _stor age.sublist(start * 4, end * 4) (List<double>) will need runtime check to cast t o type NativeFloat32List | 367 warning: line 201, column 9 of dart:_native_typed_data: [DownCastImplicit] _stor age.sublist(start * 4, end * 4) (List<double>) will need runtime check to cast t o type NativeFloat32List |
386 _storage.sublist(start * 4, end * 4)); | 368 _storage.sublist(start * 4, end * 4)); |
387 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 369 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
388 warning: line 311, column 9 of dart:_native_typed_data: [DownCastImplicit] _stor age.sublist(start * 4, end * 4) (List<int>) will need runtime check to cast to t ype Int32List | 370 warning: line 311, column 9 of dart:_native_typed_data: [DownCastImplicit] _stor age.sublist(start * 4, end * 4) (List<int>) will need runtime check to cast to t ype Int32List |
389 _storage.sublist(start * 4, end * 4)); | 371 _storage.sublist(start * 4, end * 4)); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
426 ^^^^^^ | 408 ^^^^^^ |
427 warning: line 275, column 58 of dart:_isolate_helper/isolate_serialization.dart: [DownCastImplicit] result (List<dynamic>) will need runtime check to cast to ty pe JSArray<dynamic> | 409 warning: line 275, column 58 of dart:_isolate_helper/isolate_serialization.dart: [DownCastImplicit] result (List<dynamic>) will need runtime check to cast to ty pe JSArray<dynamic> |
428 return new JSArray.markFixed(deserializeArrayInPlace(result)); | 410 return new JSArray.markFixed(deserializeArrayInPlace(result)); |
429 ^^^^^^ | 411 ^^^^^^ |
430 warning: line 357, column 29 of dart:_isolate_helper/isolate_serialization.dart: [DownCastImplicit] fields (List<dynamic>) will need runtime check to cast to ty pe JSArray<dynamic> | 412 warning: line 357, column 29 of dart:_isolate_helper/isolate_serialization.dart: [DownCastImplicit] fields (List<dynamic>) will need runtime check to cast to ty pe JSArray<dynamic> |
431 deserializeArrayInPlace(fields); | 413 deserializeArrayInPlace(fields); |
432 ^^^^^^ | 414 ^^^^^^ |
433 warning: line 59, column 22 of dart:_js_names: [DownCastComposite] keys (List<dy namic>) will need runtime check to cast to type Iterable<String> | 415 warning: line 59, column 22 of dart:_js_names: [DownCastComposite] keys (List<dy namic>) will need runtime check to cast to type Iterable<String> |
434 for (String key in keys) { | 416 for (String key in keys) { |
435 ^^^^ | 417 ^^^^ |
436 warning: line 246, column 52 of dart:_js_helper: [DownCastImplicit] memberName ( Symbol) will need runtime check to cast to type Symbol | 418 warning: line 238, column 52 of dart:_js_helper: [DownCastImplicit] memberName ( Symbol) will need runtime check to cast to type Symbol |
437 String baseName = _symbol_dev.Symbol.getName(memberName); | 419 String baseName = _symbol_dev.Symbol.getName(memberName); |
438 ^^^^^^^^^^ | 420 ^^^^^^^^^^ |
439 warning: line 474, column 14 of dart:_js_helper: [DownCastComposite] JS('', '#[2 * # + # + # + 1]', data, parameter, optionalParameterCount, FIRST_DEFAULT_ARGUM ENT) (dynamic) will need runtime check to cast to type List<int> | 421 warning: line 466, column 14 of dart:_js_helper: [DownCastComposite] JS('', '#[2 * # + # + # + 1]', data, parameter, optionalParameterCount, FIRST_DEFAULT_ARGUM ENT) (dynamic) will need runtime check to cast to type List<int> |
440 return JS('', '#[2 * # + # + # + 1]', data, parameter, | 422 return JS('', '#[2 * # + # + # + 1]', data, parameter, |
441 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 423 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
442 warning: line 609, column 18 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, 16)', source) (num) will need runtime check to cast to type int | 424 warning: line 601, column 18 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, 16)', source) (num) will need runtime check to cast to type int |
443 return JS('num', r'parseInt(#, 16)', source); | 425 return JS('num', r'parseInt(#, 16)', source); |
444 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 426 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
445 warning: line 613, column 18 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, 10)', source) (num) will need runtime check to cast to type int | 427 warning: line 605, column 18 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, 10)', source) (num) will need runtime check to cast to type int |
446 return JS('num', r'parseInt(#, 10)', source); | 428 return JS('num', r'parseInt(#, 10)', source); |
447 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 429 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
448 warning: line 625, column 18 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, 10)', source) (num) will need runtime check to cast to type int | 430 warning: line 617, column 18 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, 10)', source) (num) will need runtime check to cast to type int |
449 return JS('num', r'parseInt(#, 10)', source); | 431 return JS('num', r'parseInt(#, 10)', source); |
450 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 432 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
451 warning: line 657, column 12 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, #)', source, radix) (num) will need runtime check to cast to type in t | 433 warning: line 649, column 12 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, #)', source, radix) (num) will need runtime check to cast to type in t |
452 return JS('num', r'parseInt(#, #)', source, radix); | 434 return JS('num', r'parseInt(#, #)', source, radix); |
453 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 435 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
454 warning: line 681, column 16 of dart:_js_helper: [DownCastImplicit] result (num) will need runtime check to cast to type double | 436 warning: line 673, column 16 of dart:_js_helper: [DownCastImplicit] result (num) will need runtime check to cast to type double |
455 return result; | 437 return result; |
456 ^^^^^^ | 438 ^^^^^^ |
457 warning: line 685, column 12 of dart:_js_helper: [DownCastImplicit] result (num) will need runtime check to cast to type double | 439 warning: line 677, column 12 of dart:_js_helper: [DownCastImplicit] result (num) will need runtime check to cast to type double |
458 return result; | 440 return result; |
459 ^^^^^^ | 441 ^^^^^^ |
460 warning: line 834, column 15 of dart:_js_helper: [DownCastImplicit] 0xd800 + ((( (i - 0x10000) >> 10) & 0x3ff)) (num) will need runtime check to cast to type int | 442 warning: line 826, column 15 of dart:_js_helper: [DownCastImplicit] 0xd800 + ((( (i - 0x10000) >> 10) & 0x3ff)) (num) will need runtime check to cast to type int |
461 a.add(0xd800 + ((((i - 0x10000) >> 10) & 0x3ff))); | 443 a.add(0xd800 + ((((i - 0x10000) >> 10) & 0x3ff))); |
462 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 444 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
463 warning: line 835, column 15 of dart:_js_helper: [DownCastImplicit] 0xdc00 + (i & 0x3ff) (num) will need runtime check to cast to type int | 445 warning: line 827, column 15 of dart:_js_helper: [DownCastImplicit] 0xdc00 + (i & 0x3ff) (num) will need runtime check to cast to type int |
464 a.add(0xdc00 + (i & 0x3ff)); | 446 a.add(0xdc00 + (i & 0x3ff)); |
465 ^^^^^^^^^^^^^^^^^^^^ | 447 ^^^^^^^^^^^^^^^^^^^^ |
466 warning: line 849, column 31 of dart:_js_helper: [DownCastComposite] charCodes ( dynamic) will need runtime check to cast to type List<int> | 448 warning: line 841, column 31 of dart:_js_helper: [DownCastComposite] charCodes ( dynamic) will need runtime check to cast to type List<int> |
467 return _fromCharCodeApply(charCodes); | 449 return _fromCharCodeApply(charCodes); |
468 ^^^^^^^^^ | 450 ^^^^^^^^^ |
469 warning: line 1505, column 9 of dart:_js_helper: [DownCastComposite] JS('JSExten dableArray|Null', r"#.match(/\\\$[a-zA-Z]+\\\$/g)", message) (dynamic) will need runtime check to cast to type List<String> | 451 warning: line 1497, column 9 of dart:_js_helper: [DownCastComposite] JS('JSExten dableArray|Null', r"#.match(/\\\$[a-zA-Z]+\\\$/g)", message) (dynamic) will need runtime check to cast to type List<String> |
470 JS('JSExtendableArray|Null', r"#.match(/\\\$[a-zA-Z]+\\\$/g)", message); | 452 JS('JSExtendableArray|Null', r"#.match(/\\\$[a-zA-Z]+\\\$/g)", message); |
471 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 453 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
472 warning: line 3063, column 7 of dart:_js_helper: [DownCastComposite] parameterTy pes (dynamic) will need runtime check to cast to type List<RuntimeType> | 454 warning: line 3055, column 7 of dart:_js_helper: [DownCastComposite] parameterTy pes (dynamic) will need runtime check to cast to type List<RuntimeType> |
473 parameterTypes, | 455 parameterTypes, |
474 ^^^^^^^^^^^^^^ | 456 ^^^^^^^^^^^^^^ |
475 warning: line 3064, column 7 of dart:_js_helper: [DownCastComposite] optionalPar ameterTypes (dynamic) will need runtime check to cast to type List<RuntimeType> | 457 warning: line 3056, column 7 of dart:_js_helper: [DownCastComposite] optionalPar ameterTypes (dynamic) will need runtime check to cast to type List<RuntimeType> |
476 optionalParameterTypes, | 458 optionalParameterTypes, |
477 ^^^^^^^^^^^^^^^^^^^^^^ | 459 ^^^^^^^^^^^^^^^^^^^^^^ |
478 warning: line 3073, column 7 of dart:_js_helper: [DownCastComposite] parameterTy pes (dynamic) will need runtime check to cast to type List<RuntimeType> | 460 warning: line 3065, column 7 of dart:_js_helper: [DownCastComposite] parameterTy pes (dynamic) will need runtime check to cast to type List<RuntimeType> |
479 parameterTypes, | 461 parameterTypes, |
480 ^^^^^^^^^^^^^^ | 462 ^^^^^^^^^^^^^^ |
481 warning: line 3083, column 39 of dart:_js_helper: [DownCastComposite] typeArgume nts (dynamic) will need runtime check to cast to type List<RuntimeType> | 463 warning: line 3075, column 39 of dart:_js_helper: [DownCastComposite] typeArgume nts (dynamic) will need runtime check to cast to type List<RuntimeType> |
482 return new RuntimeTypeGeneric(name, typeArguments, null); | 464 return new RuntimeTypeGeneric(name, typeArguments, null); |
483 ^^^^^^^^^^^^^ | 465 ^^^^^^^^^^^^^ |
484 warning: line 3144, column 41 of dart:_js_helper: [DownCastComposite] arguments (List<dynamic>) will need runtime check to cast to type List<RuntimeType> | 466 warning: line 3136, column 41 of dart:_js_helper: [DownCastComposite] arguments (List<dynamic>) will need runtime check to cast to type List<RuntimeType> |
485 return new RuntimeTypeGeneric(name, arguments, rti); | 467 return new RuntimeTypeGeneric(name, arguments, rti); |
486 ^^^^^^^^^ | 468 ^^^^^^^^^ |
487 warning: line 3329, column 23 of dart:_js_helper: [DownCastComposite] JS('JSExte ndableArray|Null', '#[#]', urisMap, loadId) (dynamic) will need runtime check to cast to type List<String> | 469 warning: line 3321, column 23 of dart:_js_helper: [DownCastComposite] JS('JSExte ndableArray|Null', '#[#]', urisMap, loadId) (dynamic) will need runtime check to cast to type List<String> |
488 List<String> uris = JS('JSExtendableArray|Null', '#[#]', urisMap, loadId); | 470 List<String> uris = JS('JSExtendableArray|Null', '#[#]', urisMap, loadId); |
489 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 471 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
490 warning: line 3331, column 25 of dart:_js_helper: [DownCastComposite] JS('JSExte ndableArray|Null', '#[#]', hashesMap, loadId) (dynamic) will need runtime check to cast to type List<String> | 472 warning: line 3323, column 25 of dart:_js_helper: [DownCastComposite] JS('JSExte ndableArray|Null', '#[#]', hashesMap, loadId) (dynamic) will need runtime check to cast to type List<String> |
491 List<String> hashes = JS('JSExtendableArray|Null', '#[#]', hashesMap, loadId); | 473 List<String> hashes = JS('JSExtendableArray|Null', '#[#]', hashesMap, loadId); |
492 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 474 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
493 warning: line 3341, column 10 of dart:_js_helper: [DownCastComposite] Future.wai t(indicesToLoad.map((int i) => _loadHunk(uris[i]))).then((_) {List<int> indicesT oInitialize = indices.where((int i) => !JS('bool', '#(#)', isHunkInitialized, ha shes[i])).toList(); for (int i in indicesToInitialize) {var initializer = JS_EMB EDDED_GLOBAL('', INITIALIZE_LOADED_HUNK); JS('void', '#(#)', initializer, hashes [i]);} bool updated = _loadedLibraries.add(loadId); if (updated && deferredLoadH ook != null) {deferredLoadHook();}}) (Future<dynamic>) will need runtime check t o cast to type Future<Null> | 475 warning: line 3333, column 10 of dart:_js_helper: [DownCastComposite] Future.wai t(indicesToLoad.map((int i) => _loadHunk(uris[i]))).then((_) {List<int> indicesT oInitialize = indices.where((int i) => !JS('bool', '#(#)', isHunkInitialized, ha shes[i])).toList(); for (int i in indicesToInitialize) {var initializer = JS_EMB EDDED_GLOBAL('', INITIALIZE_LOADED_HUNK); JS('void', '#(#)', initializer, hashes [i]);} bool updated = _loadedLibraries.add(loadId); if (updated && deferredLoadH ook != null) {deferredLoadHook();}}) (Future<dynamic>) will need runtime check t o cast to type Future<Null> |
494 return Future.wait(indicesToLoad | 476 return Future.wait(indicesToLoad |
495 ^^^^^^^^^^^^^^^^^^^^^^^^^^ | 477 ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
496 warning: line 3341, column 22 of dart:_js_helper: [DownCastComposite] indicesToL oad.map((int i) => _loadHunk(uris[i])) (Iterable<dynamic>) will need runtime che ck to cast to type Iterable<Future<dynamic>> | 478 warning: line 3333, column 22 of dart:_js_helper: [DownCastComposite] indicesToL oad.map((int i) => _loadHunk(uris[i])) (Iterable<dynamic>) will need runtime che ck to cast to type Iterable<Future<dynamic>> |
497 return Future.wait(indicesToLoad | 479 return Future.wait(indicesToLoad |
498 ^^^^^^^^^^^^^^ | 480 ^^^^^^^^^^^^^^ |
499 warning: line 3364, column 12 of dart:_js_helper: [DownCastComposite] future.the n((_) => null) (Future<dynamic>) will need runtime check to cast to type Future< Null> | 481 warning: line 3356, column 12 of dart:_js_helper: [DownCastComposite] future.the n((_) => null) (Future<dynamic>) will need runtime check to cast to type Future< Null> |
500 return future.then((_) => null); | 482 return future.then((_) => null); |
501 ^^^^^^^^^^^^^^^^^^^^^^^^ | 483 ^^^^^^^^^^^^^^^^^^^^^^^^ |
502 warning: line 3390, column 36 of dart:_js_helper: [DownCastComposite] completer. future.whenComplete(() {leaveJsAsync();}) (Future<dynamic>) will need runtime ch eck to cast to type Future<Null> | 484 warning: line 3382, column 36 of dart:_js_helper: [DownCastComposite] completer. future.whenComplete(() {leaveJsAsync();}) (Future<dynamic>) will need runtime ch eck to cast to type Future<Null> |
503 Future<Null> leavingFuture = completer.future.whenComplete(() { | 485 Future<Null> leavingFuture = completer.future.whenComplete(() { |
504 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 486 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
505 warning: line 20, column 41 of dart:_js_helper/constant_map.dart: [DownCastCompo site] _throwUnmodifiable() (dynamic) will need runtime check to cast to type V | 487 warning: line 20, column 41 of dart:_js_helper/constant_map.dart: [DownCastCompo site] _throwUnmodifiable() (dynamic) will need runtime check to cast to type V |
506 V putIfAbsent(K key, V ifAbsent()) => _throwUnmodifiable(); | 488 V putIfAbsent(K key, V ifAbsent()) => _throwUnmodifiable(); |
507 ^^^^^^^^^^^^^^^^^^^^ | 489 ^^^^^^^^^^^^^^^^^^^^ |
508 warning: line 21, column 27 of dart:_js_helper/constant_map.dart: [DownCastCompo site] _throwUnmodifiable() (dynamic) will need runtime check to cast to type V | 490 warning: line 21, column 27 of dart:_js_helper/constant_map.dart: [DownCastCompo site] _throwUnmodifiable() (dynamic) will need runtime check to cast to type V |
509 V remove(Object key) => _throwUnmodifiable(); | 491 V remove(Object key) => _throwUnmodifiable(); |
510 ^^^^^^^^^^^^^^^^^^^^ | 492 ^^^^^^^^^^^^^^^^^^^^ |
511 warning: line 46, column 40 of dart:_js_helper/constant_map.dart: [DownCastImpli cit] key (Object) will need runtime check to cast to type String | 493 warning: line 46, column 40 of dart:_js_helper/constant_map.dart: [DownCastImpli cit] key (Object) will need runtime check to cast to type String |
512 return jsHasOwnProperty(_jsObject, key); | 494 return jsHasOwnProperty(_jsObject, key); |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1092 ^^^^^^^^^^^^^^^^^^^^ | 1074 ^^^^^^^^^^^^^^^^^^^^ |
1093 warning: line 258, column 40 of dart:core/duration.dart: [DownCastImplicit] inMi nutes.remainder(MINUTES_PER_HOUR) (num) will need runtime check to cast to type int | 1075 warning: line 258, column 40 of dart:core/duration.dart: [DownCastImplicit] inMi nutes.remainder(MINUTES_PER_HOUR) (num) will need runtime check to cast to type int |
1094 String twoDigitMinutes = twoDigits(inMinutes.remainder(MINUTES_PER_HOUR)); | 1076 String twoDigitMinutes = twoDigits(inMinutes.remainder(MINUTES_PER_HOUR)); |
1095 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 1077 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
1096 warning: line 259, column 40 of dart:core/duration.dart: [DownCastImplicit] inSe conds.remainder(SECONDS_PER_MINUTE) (num) will need runtime check to cast to typ e int | 1078 warning: line 259, column 40 of dart:core/duration.dart: [DownCastImplicit] inSe conds.remainder(SECONDS_PER_MINUTE) (num) will need runtime check to cast to typ e int |
1097 String twoDigitSeconds = twoDigits(inSeconds.remainder(SECONDS_PER_MINUTE)); | 1079 String twoDigitSeconds = twoDigits(inSeconds.remainder(SECONDS_PER_MINUTE)); |
1098 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 1080 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
1099 warning: line 261, column 19 of dart:core/duration.dart: [DownCastImplicit] inMi croseconds.remainder(MICROSECONDS_PER_SECOND) (num) will need runtime check to c ast to type int | 1081 warning: line 261, column 19 of dart:core/duration.dart: [DownCastImplicit] inMi croseconds.remainder(MICROSECONDS_PER_SECOND) (num) will need runtime check to c ast to type int |
1100 sixDigits(inMicroseconds.remainder(MICROSECONDS_PER_SECOND)); | 1082 sixDigits(inMicroseconds.remainder(MICROSECONDS_PER_SECOND)); |
1101 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 1083 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
1084 warning: line 34, column 1 of dart:core/iterable.dart: [AnalyzerError] Annotatio n can be only constant variable or constant constructor invocation | |
1085 @SupportJsExtensionMethods() | |
Leaf
2015/06/02 21:35:04
Typo - the definition uses ExtensionMethod vs Exte
Jennifer Messerly
2015/06/04 21:31:18
turns out it wasn't just that, it was a dependency
| |
1086 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
1102 warning: line 320, column 22 of dart:core/iterable.dart: [DownCastComposite] (ge nerator != null) ? generator : _id (dynamic) will need runtime check to cast to type (int) → E | 1087 warning: line 320, column 22 of dart:core/iterable.dart: [DownCastComposite] (ge nerator != null) ? generator : _id (dynamic) will need runtime check to cast to type (int) → E |
1103 _generator = (generator != null) ? generator : _id; | 1088 _generator = (generator != null) ? generator : _id; |
1104 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 1089 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
1105 severe: line 612, column 5 of dart:core/list.dart: [AnalyzerError] The method 'c heckNull' is not defined for the class 'List' | 1090 warning: line 121, column 16 of dart:core/list.dart: [DownCastComposite] e (dyna mic) will need runtime check to cast to type E |
1106 checkNull(start); // TODO(ahe): This is not specified but co19 tests it. | |
1107 ^^^^^^^^^ | |
1108 severe: line 523, column 22 of dart:core/list.dart: [AnalyzerError] Undefined na me 'value' | |
1109 if (this[i] == value) { | |
1110 ^^^^^ | |
1111 warning: line 96, column 12 of dart:core/list.dart: [DownCastComposite] list (dy namic) will need runtime check to cast to type List<E> | |
1112 return list; | |
1113 ^^^^ | |
1114 warning: line 128, column 16 of dart:core/list.dart: [DownCastComposite] e (dyna mic) will need runtime check to cast to type E | |
1115 list.add(e); | 1091 list.add(e); |
1116 ^ | 1092 ^ |
1117 warning: line 131, column 12 of dart:core/list.dart: [DownCastComposite] makeLis tFixedLength(list) (List<dynamic>) will need runtime check to cast to type List< E> | 1093 warning: line 124, column 12 of dart:core/list.dart: [DownCastComposite] makeLis tFixedLength(list) (List<dynamic>) will need runtime check to cast to type List< E> |
1118 return makeListFixedLength(list); | 1094 return makeListFixedLength(list); |
1119 ^^^^^^^^^^^^^^^^^^^^^^^^^ | 1095 ^^^^^^^^^^^^^^^^^^^^^^^^^ |
1120 warning: line 186, column 9 of dart:core/list.dart: [DownCastComposite] JS('', ' #[#]', this, i) (dynamic) will need runtime check to cast to type E | |
1121 f(JS('', '#[#]', this, i)); | |
1122 ^^^^^^^^^^^^^^^^^^^^^^^ | |
1123 warning: line 222, column 12 of dart:core/list.dart: [DownCastComposite] Iterabl eMixinWorkaround.reduce(this, combine) (dynamic) will need runtime check to cast to type E | |
1124 return IterableMixinWorkaround.reduce(this, combine); | |
1125 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
1126 warning: line 230, column 12 of dart:core/list.dart: [DownCastComposite] Iterabl eMixinWorkaround.firstWhere(this, test, orElse) (dynamic) will need runtime chec k to cast to type E | |
1127 return IterableMixinWorkaround.firstWhere(this, test, orElse); | |
1128 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
1129 warning: line 234, column 12 of dart:core/list.dart: [DownCastComposite] Iterabl eMixinWorkaround.lastWhereList(this, test, orElse) (dynamic) will need runtime c heck to cast to type E | |
1130 return IterableMixinWorkaround.lastWhereList(this, test, orElse); | |
1131 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
1132 warning: line 238, column 12 of dart:core/list.dart: [DownCastComposite] Iterabl eMixinWorkaround.singleWhere(this, test) (dynamic) will need runtime check to ca st to type E | |
1133 return IterableMixinWorkaround.singleWhere(this, test); | |
1134 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
1135 warning: line 281, column 12 of dart:core/list.dart: [DownCastComposite] JS('', 'dart.setType(#.slice(), core.List\$(#))', this, E) (dynamic) will need runtime check to cast to type List<E> | |
1136 return JS('', 'dart.setType(#.slice(), core.List\$(#))', this, E); | |
1137 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
1138 warning: line 299, column 12 of dart:core/list.dart: [DownCastComposite] JS('var ', '#[#]', this, index) (dynamic) will need runtime check to cast to type E | |
1139 return JS('var', '#[#]', this, index); | |
1140 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
1141 warning: line 550, column 12 of dart:core/list.dart: [DownCastComposite] JS('var ', r'#.splice(#, 1)[0]', this, index) (dynamic) will need runtime check to cast to type E | |
1142 return JS('var', r'#.splice(#, 1)[0]', this, index); | |
1143 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
1144 warning: line 561, column 12 of dart:core/list.dart: [DownCastComposite] JS('var ', r'#.pop()', this) (dynamic) will need runtime check to cast to type E | |
1145 return JS('var', r'#.pop()', this); | |
1146 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
1147 warning: line 102, column 12 of dart:core/stopwatch.dart: [DownCastImplicit] (_s top == null) ? (_now() - _start) : (_stop - _start) (num) will need runtime chec k to cast to type int | 1096 warning: line 102, column 12 of dart:core/stopwatch.dart: [DownCastImplicit] (_s top == null) ? (_now() - _start) : (_stop - _start) (num) will need runtime chec k to cast to type int |
1148 return (_stop == null) ? (_now() - _start) : (_stop - _start); | 1097 return (_stop == null) ? (_now() - _start) : (_stop - _start); |
1149 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 1098 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
1150 warning: line 753, column 22 of dart:core/string.dart: [DownCastImplicit] _curre ntCodePoint (num) will need runtime check to cast to type int | 1099 warning: line 753, column 22 of dart:core/string.dart: [DownCastImplicit] _curre ntCodePoint (num) will need runtime check to cast to type int |
1151 int get current => _currentCodePoint; | 1100 int get current => _currentCodePoint; |
1152 ^^^^^^^^^^^^^^^^^ | 1101 ^^^^^^^^^^^^^^^^^ |
1153 warning: line 94, column 12 of dart:core/uri.dart: [DownCastImplicit] _port (num ) will need runtime check to cast to type int | 1102 warning: line 94, column 12 of dart:core/uri.dart: [DownCastImplicit] _port (num ) will need runtime check to cast to type int |
1154 return _port; | 1103 return _port; |
1155 ^^^^^ | 1104 ^^^^^ |
1156 warning: line 893, column 14 of dart:core/uri.dart: [DownCastImplicit] this._por t (num) will need runtime check to cast to type int | 1105 warning: line 893, column 14 of dart:core/uri.dart: [DownCastImplicit] this._por t (num) will need runtime check to cast to type int |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1188 ^^^^^^^^^^^^^^^^ | 1137 ^^^^^^^^^^^^^^^^ |
1189 warning: line 1869, column 12 of dart:core/uri.dart: [DownCastComposite] query.s plit("&").fold({}, (map, element) {int index = element.indexOf("="); if (index = = -1) {if (element != "") {map[decodeQueryComponent(element, encoding: encoding) ] = "";}} else if (index != 0) {var key = element.substring(0, index); var value = element.substring(index + 1); map[Uri.decodeQueryComponent(key, encoding: enc oding)] = decodeQueryComponent(value, encoding: encoding);} return map;}) (dynam ic) will need runtime check to cast to type Map<String, String> | 1138 warning: line 1869, column 12 of dart:core/uri.dart: [DownCastComposite] query.s plit("&").fold({}, (map, element) {int index = element.indexOf("="); if (index = = -1) {if (element != "") {map[decodeQueryComponent(element, encoding: encoding) ] = "";}} else if (index != 0) {var key = element.substring(0, index); var value = element.substring(index + 1); map[Uri.decodeQueryComponent(key, encoding: enc oding)] = decodeQueryComponent(value, encoding: encoding);} return map;}) (dynam ic) will need runtime check to cast to type Map<String, String> |
1190 return query.split("&").fold({}, (map, element) { | 1139 return query.split("&").fold({}, (map, element) { |
1191 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 1140 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
1192 warning: line 1901, column 12 of dart:core/uri.dart: [DownCastComposite] bytes.m ap((byteString) {int byte = int.parse(byteString); if (byte < 0 || byte > 255) { error('each part must be in the range of `0..255`');} return byte;}).toList() (L ist<dynamic>) will need runtime check to cast to type List<int> | 1141 warning: line 1901, column 12 of dart:core/uri.dart: [DownCastComposite] bytes.m ap((byteString) {int byte = int.parse(byteString); if (byte < 0 || byte > 255) { error('each part must be in the range of `0..255`');} return byte;}).toList() (L ist<dynamic>) will need runtime check to cast to type List<int> |
1193 return bytes | 1142 return bytes |
1194 ^^^^^^ | 1143 ^^^^^^ |
1195 warning: line 2023, column 12 of dart:core/uri.dart: [DownCastComposite] bytes ( List<dynamic>) will need runtime check to cast to type List<int> | 1144 warning: line 2023, column 12 of dart:core/uri.dart: [DownCastComposite] bytes ( List<dynamic>) will need runtime check to cast to type List<int> |
1196 return bytes; | 1145 return bytes; |
1197 ^^^^^ | 1146 ^^^^^ |
OLD | NEW |