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

Side by Side Diff: tool/sdk_expected_errors.txt

Issue 1200233004: fixes #168, dart:js implementation with a test (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: fix error (window not defined) Created 5 years, 5 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
« no previous file with comments | « tool/input_sdk/private/js_helper.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
1 severe: line 90, column 1 of dart:js: [Message] File dart:html not found
2 import 'dart:html' show Blob, Event, ImageData, Node, Window;
3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 severe: line 92, column 1 of dart:js: [Message] File dart:indexed_db not found
5 import 'dart:indexed_db' show KeyRange;
6 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 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> 1 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>
8 return IsolateNatives.spawnFunction(entryPoint, message, paused) 2 return IsolateNatives.spawnFunction(entryPoint, message, paused)
9 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10 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> 4 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>
11 return IsolateNatives.spawnUri(uri, args, message, paused) 5 return IsolateNatives.spawnUri(uri, args, message, paused)
12 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 warning: line 426, column 16 of dart:math: [DownCastImplicit] rnd32.remainder(ma x) (num) will need runtime check to cast to type int 7 warning: line 426, column 16 of dart:math: [DownCastImplicit] rnd32.remainder(ma x) (num) will need runtime check to cast to type int
14 result = rnd32.remainder(max); // % max; 8 result = rnd32.remainder(max); // % max;
15 ^^^^^^^^^^^^^^^^^^^^ 9 ^^^^^^^^^^^^^^^^^^^^
16 warning: line 37, column 25 of dart:math/point.dart: [DownCastComposite] x + oth er.x (num) will need runtime check to cast to type T 10 warning: line 37, column 25 of dart:math/point.dart: [DownCastComposite] x + oth er.x (num) will need runtime check to cast to type T
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 138 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
145 warning: line 420, column 44 of dart:_interceptors/js_number.dart: [AnalyzerMess age] Classes cannot implement 'double' 139 warning: line 420, column 44 of dart:_interceptors/js_number.dart: [AnalyzerMess age] Classes cannot implement 'double'
146 class JSDouble extends JSNumber implements double { 140 class JSDouble extends JSNumber implements double {
147 ^^^^^^ 141 ^^^^^^
148 warning: line 349, column 41 of dart:_interceptors/js_number.dart: [AnalyzerMess age] Classes cannot implement 'int' 142 warning: line 349, column 41 of dart:_interceptors/js_number.dart: [AnalyzerMess age] Classes cannot implement 'int'
149 class JSInt extends JSNumber implements int, double { 143 class JSInt extends JSNumber implements int, double {
150 ^^^ 144 ^^^
151 warning: line 16, column 47 of dart:_interceptors/js_number.dart: [AnalyzerMessa ge] Classes cannot implement 'num' 145 warning: line 16, column 47 of dart:_interceptors/js_number.dart: [AnalyzerMessa ge] Classes cannot implement 'num'
152 class JSNumber extends Interceptor implements num { 146 class JSNumber extends Interceptor implements num {
153 ^^^ 147 ^^^
148 severe: line 110, column 17 of dart:_interceptors/js_number.dart: [AnalyzerMessa ge] The return type 'JSNumber' is not a 'double', as defined by the method 'toDo uble'
149 toDouble() => this;
150 ^^^^
154 warning: line 349, column 46 of dart:_interceptors/js_number.dart: [AnalyzerMess age] Classes cannot implement 'double' 151 warning: line 349, column 46 of dart:_interceptors/js_number.dart: [AnalyzerMess age] Classes cannot implement 'double'
155 class JSInt extends JSNumber implements int, double { 152 class JSInt extends JSNumber implements int, double {
156 ^^^^^^ 153 ^^^^^^
157 severe: line 110, column 17 of dart:_interceptors/js_number.dart: [AnalyzerMessa ge] The return type 'JSNumber' is not a 'double', as defined by the method 'toDo uble'
158 toDouble() => this;
159 ^^^^
160 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 154 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
161 double ceilToDouble() => JS('num', r'Math.ceil(#)', this); 155 double ceilToDouble() => JS('num', r'Math.ceil(#)', this);
162 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 156 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
163 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 157 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
164 double floorToDouble() => JS('num', r'Math.floor(#)', this); 158 double floorToDouble() => JS('num', r'Math.floor(#)', this);
165 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 159 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
166 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 160 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
167 return JS('num', r'-Math.round(-#)', this); 161 return JS('num', r'-Math.round(-#)', this);
168 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 162 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
169 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 163 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
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 255 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
262 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 256 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
263 _storage.sublist(start * 4, end * 4)); 257 _storage.sublist(start * 4, end * 4));
264 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 258 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
265 warning: line 415, column 9 of dart:_native_typed_data: [DownCastImplicit] _stor age.sublist(start * 2, end * 2) (List<double>) will need runtime check to cast t o type NativeFloat64List 259 warning: line 415, column 9 of dart:_native_typed_data: [DownCastImplicit] _stor age.sublist(start * 2, end * 2) (List<double>) will need runtime check to cast t o type NativeFloat64List
266 _storage.sublist(start * 2, end * 2)); 260 _storage.sublist(start * 2, end * 2));
267 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
268 warning: line 1106, column 12 of dart:_native_typed_data: [DownCastImplicit] len gth == null ? _create2(buffer, offsetInBytes) : _create3(buffer, offsetInBytes, length) (Int8List) will need runtime check to cast to type NativeInt8List 262 warning: line 1106, column 12 of dart:_native_typed_data: [DownCastImplicit] len gth == null ? _create2(buffer, offsetInBytes) : _create3(buffer, offsetInBytes, length) (Int8List) will need runtime check to cast to type NativeInt8List
269 return length == null 263 return length == null
270 ^^^^^^^^^^^^^^^ 264 ^^^^^^^^^^^^^^^
271 warning: line 576, column 29 of dart:_isolate_helper: [DownCastComposite] doneHa ndlers (dynamic) will need runtime check to cast to type Iterable<SendPort> 265 warning: line 574, column 29 of dart:_isolate_helper: [DownCastComposite] doneHa ndlers (dynamic) will need runtime check to cast to type Iterable<SendPort>
272 for (SendPort port in doneHandlers) { 266 for (SendPort port in doneHandlers) {
273 ^^^^^^^^^^^^ 267 ^^^^^^^^^^^^
274 warning: line 835, column 37 of dart:_isolate_helper: [DownCastComposite] args ( dynamic) will need runtime check to cast to type List<String> 268 warning: line 833, column 37 of dart:_isolate_helper: [DownCastComposite] args ( dynamic) will need runtime check to cast to type List<String>
275 _startIsolate(entryPoint, args, message, 269 _startIsolate(entryPoint, args, message,
276 ^^^^ 270 ^^^^
277 warning: line 882, column 11 of dart:_isolate_helper: [DownCastComposite] msg['a rgs'] (dynamic) will need runtime check to cast to type List<String> 271 warning: line 880, column 11 of dart:_isolate_helper: [DownCastComposite] msg['a rgs'] (dynamic) will need runtime check to cast to type List<String>
278 msg['args'], msg['msg'], 272 msg['args'], msg['msg'],
279 ^^^^^^^^^^^ 273 ^^^^^^^^^^^
280 warning: line 89, column 38 of dart:_isolate_helper/isolate_serialization.dart: [DownCastImplicit] indexable (JSIndexable) will need runtime check to cast to ty pe JSArray<dynamic> 274 warning: line 89, column 38 of dart:_isolate_helper/isolate_serialization.dart: [DownCastImplicit] indexable (JSIndexable) will need runtime check to cast to ty pe JSArray<dynamic>
281 List serialized = serializeArray(indexable); 275 List serialized = serializeArray(indexable);
282 ^^^^^^^^^ 276 ^^^^^^^^^
283 warning: line 120, column 24 of dart:_isolate_helper/isolate_serialization.dart: [DownCastImplicit] serializeTearOff (Function) will need runtime check to cast to type (dynamic) → dynamic 277 warning: line 120, column 24 of dart:_isolate_helper/isolate_serialization.dart: [DownCastImplicit] serializeTearOff (Function) will need runtime check to cast to type (dynamic) → dynamic
284 x.keys.map(serializeTearOff).toList(), 278 x.keys.map(serializeTearOff).toList(),
285 ^^^^^^^^^^^^^^^^ 279 ^^^^^^^^^^^^^^^^
286 warning: line 121, column 26 of dart:_isolate_helper/isolate_serialization.dart: [DownCastImplicit] serializeTearOff (Function) will need runtime check to cast to type (dynamic) → dynamic 280 warning: line 121, column 26 of dart:_isolate_helper/isolate_serialization.dart: [DownCastImplicit] serializeTearOff (Function) will need runtime check to cast to type (dynamic) → dynamic
287 x.values.map(serializeTearOff).toList()]; 281 x.values.map(serializeTearOff).toList()];
(...skipping 18 matching lines...) Expand all
306 ^^^^^^ 300 ^^^^^^
307 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 301 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
308 return zone.registerUnaryCallback(errorHandler); 302 return zone.registerUnaryCallback(errorHandler);
309 ^^^^^^^^^^^^ 303 ^^^^^^^^^^^^
310 severe: line 208, column 22 of dart:async/broadcast_stream_controller.dart: [Ana lyzerMessage] The getter '_isFiring' is not defined for the class 'StreamSubscri ption<T>' 304 severe: line 208, column 22 of dart:async/broadcast_stream_controller.dart: [Ana lyzerMessage] The getter '_isFiring' is not defined for the class 'StreamSubscri ption<T>'
311 if (subscription._isFiring) { 305 if (subscription._isFiring) {
312 ^^^^^^^^^ 306 ^^^^^^^^^
313 severe: line 206, column 32 of dart:async/broadcast_stream_controller.dart: [Ana lyzerMessage] The getter '_next' is not defined for the class 'StreamSubscriptio n<T>' 307 severe: line 206, column 32 of dart:async/broadcast_stream_controller.dart: [Ana lyzerMessage] The getter '_next' is not defined for the class 'StreamSubscriptio n<T>'
314 if (identical(subscription._next, subscription)) return null; 308 if (identical(subscription._next, subscription)) return null;
315 ^^^^^ 309 ^^^^^
310 severe: line 207, column 36 of dart:async/broadcast_stream_controller.dart: [Ana lyzerMessage] The getter '_next' is not defined for the class 'StreamSubscriptio n<T>'
311 assert(!identical(subscription._next, subscription));
312 ^^^^^
316 severe: line 209, column 20 of dart:async/broadcast_stream_controller.dart: [Ana lyzerMessage] The method '_setRemoveAfterFiring' is not defined for the class 'S treamSubscription<T>' 313 severe: line 209, column 20 of dart:async/broadcast_stream_controller.dart: [Ana lyzerMessage] The method '_setRemoveAfterFiring' is not defined for the class 'S treamSubscription<T>'
317 subscription._setRemoveAfterFiring(); 314 subscription._setRemoveAfterFiring();
318 ^^^^^^^^^^^^^^^^^^^^^ 315 ^^^^^^^^^^^^^^^^^^^^^
319 severe: line 207, column 36 of dart:async/broadcast_stream_controller.dart: [Ana lyzerMessage] The getter '_next' is not defined for the class 'StreamSubscriptio n<T>'
320 assert(!identical(subscription._next, subscription));
321 ^^^^^
322 severe: line 211, column 38 of dart:async/broadcast_stream_controller.dart: [Ana lyzerMessage] The getter '_next' is not defined for the class 'StreamSubscriptio n<T>' 316 severe: line 211, column 38 of dart:async/broadcast_stream_controller.dart: [Ana lyzerMessage] The getter '_next' is not defined for the class 'StreamSubscriptio n<T>'
323 assert(!identical(subscription._next, subscription)); 317 assert(!identical(subscription._next, subscription));
324 ^^^^^ 318 ^^^^^
325 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> 319 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>
326 _BroadcastStream(_StreamControllerLifecycle controller) : super(controller); 320 _BroadcastStream(_StreamControllerLifecycle controller) : super(controller);
327 ^^^^^^^^^^ 321 ^^^^^^^^^^
328 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> 322 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>
329 : super(controller, onData, onError, onDone, cancelOnError) { 323 : super(controller, onData, onError, onDone, cancelOnError) {
330 ^^^^^^^^^^ 324 ^^^^^^^^^^
331 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> 325 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>
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 ^^^^^^^^^^^^^ 399 ^^^^^^^^^^^^^
406 warning: line 66, column 61 of dart:async/schedule_microtask.dart: [DownCastComp osite] callback (dynamic) will need runtime check to cast to type () → void 400 warning: line 66, column 61 of dart:async/schedule_microtask.dart: [DownCastComp osite] callback (dynamic) will need runtime check to cast to type () → void
407 _nextCallback = _lastCallback = new _AsyncCallbackEntry(callback); 401 _nextCallback = _lastCallback = new _AsyncCallbackEntry(callback);
408 ^^^^^^^^ 402 ^^^^^^^^
409 warning: line 71, column 60 of dart:async/schedule_microtask.dart: [DownCastComp osite] callback (dynamic) will need runtime check to cast to type () → void 403 warning: line 71, column 60 of dart:async/schedule_microtask.dart: [DownCastComp osite] callback (dynamic) will need runtime check to cast to type () → void
410 _AsyncCallbackEntry newEntry = new _AsyncCallbackEntry(callback); 404 _AsyncCallbackEntry newEntry = new _AsyncCallbackEntry(callback);
411 ^^^^^^^^ 405 ^^^^^^^^
412 warning: line 84, column 55 of dart:async/schedule_microtask.dart: [DownCastComp osite] callback (dynamic) will need runtime check to cast to type () → void 406 warning: line 84, column 55 of dart:async/schedule_microtask.dart: [DownCastComp osite] callback (dynamic) will need runtime check to cast to type () → void
413 _AsyncCallbackEntry entry = new _AsyncCallbackEntry(callback); 407 _AsyncCallbackEntry entry = new _AsyncCallbackEntry(callback);
414 ^^^^^^^^ 408 ^^^^^^^^
409 severe: line 321, column 34 of dart:async/stream.dart: [AnalyzerMessage] The get ter '_addError' is not defined for the class 'StreamController'
410 final addError = eventSink._addError;
411 ^^^^^^^^^
415 severe: line 1227, column 17 of dart:async/stream.dart: [AnalyzerMessage] The me thod '_addError' is not defined for the class 'StreamController' 412 severe: line 1227, column 17 of dart:async/stream.dart: [AnalyzerMessage] The me thod '_addError' is not defined for the class 'StreamController'
416 eventSink._addError(error, stackTrace); // Avoid Zone error replacement. 413 eventSink._addError(error, stackTrace); // Avoid Zone error replacement.
417 ^^^^^^^^^ 414 ^^^^^^^^^
418 severe: line 396, column 30 of dart:async/stream.dart: [AnalyzerMessage] The get ter '_addError' is not defined for the class 'StreamController' 415 severe: line 396, column 30 of dart:async/stream.dart: [AnalyzerMessage] The get ter '_addError' is not defined for the class 'StreamController'
419 onError: eventSink._addError, // Avoid Zone error replacement. 416 onError: eventSink._addError, // Avoid Zone error replacement.
420 ^^^^^^^^^ 417 ^^^^^^^^^
421 severe: line 321, column 34 of dart:async/stream.dart: [AnalyzerMessage] The get ter '_addError' is not defined for the class 'StreamController'
422 final addError = eventSink._addError;
423 ^^^^^^^^^
424 warning: line 90, column 25 of dart:async/stream.dart: [DownCastComposite] value (dynamic) will need runtime check to cast to type T 418 warning: line 90, column 25 of dart:async/stream.dart: [DownCastComposite] value (dynamic) will need runtime check to cast to type T
425 controller._add(value); 419 controller._add(value);
426 ^^^^^ 420 ^^^^^
427 warning: line 217, column 41 of dart:async/stream.dart: [DownCastComposite] mapS ink ((EventSink<T>) → EventSink<dynamic>) will need runtime check to cast to typ e (EventSink<dynamic>) → EventSink 421 warning: line 217, column 41 of dart:async/stream.dart: [DownCastComposite] mapS ink ((EventSink<T>) → EventSink<dynamic>) will need runtime check to cast to typ e (EventSink<dynamic>) → EventSink
428 return new _BoundSinkStream(source, mapSink); 422 return new _BoundSinkStream(source, mapSink);
429 ^^^^^^^ 423 ^^^^^^^
430 warning: line 249, column 44 of dart:async/stream.dart: [DownCastComposite] onLi sten ((StreamSubscription<T>) → void) will need runtime check to cast to type (S treamSubscription<dynamic>) → void 424 warning: line 249, column 44 of dart:async/stream.dart: [DownCastComposite] onLi sten ((StreamSubscription<T>) → void) will need runtime check to cast to type (S treamSubscription<dynamic>) → void
431 return new _AsBroadcastStream<T>(this, onListen, onCancel); 425 return new _AsBroadcastStream<T>(this, onListen, onCancel);
432 ^^^^^^^^ 426 ^^^^^^^^
433 warning: line 249, column 54 of dart:async/stream.dart: [DownCastComposite] onCa ncel ((StreamSubscription<T>) → void) will need runtime check to cast to type (S treamSubscription<dynamic>) → void 427 warning: line 249, column 54 of dart:async/stream.dart: [DownCastComposite] onCa ncel ((StreamSubscription<T>) → void) will need runtime check to cast to type (S treamSubscription<dynamic>) → void
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
1110 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1104 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1111 warning: line 140, column 43 of dart:_js_helper/regexp_helper.dart: [DownCastCom posite] match (List<dynamic>) will need runtime check to cast to type List<Strin g> 1105 warning: line 140, column 43 of dart:_js_helper/regexp_helper.dart: [DownCastCom posite] match (List<dynamic>) will need runtime check to cast to type List<Strin g>
1112 return new _MatchImplementation(this, match); 1106 return new _MatchImplementation(this, match);
1113 ^^^^^ 1107 ^^^^^
1114 warning: line 152, column 43 of dart:_js_helper/regexp_helper.dart: [DownCastCom posite] match (List<dynamic>) will need runtime check to cast to type List<Strin g> 1108 warning: line 152, column 43 of dart:_js_helper/regexp_helper.dart: [DownCastCom posite] match (List<dynamic>) will need runtime check to cast to type List<Strin g>
1115 return new _MatchImplementation(this, match); 1109 return new _MatchImplementation(this, match);
1116 ^^^^^ 1110 ^^^^^
1117 warning: line 137, column 23 of dart:_js_helper/string_helper.dart: [DownCastCom posite] pattern.allMatches(receiver) (dynamic) will need runtime check to cast t o type Iterable<Match> 1111 warning: line 137, column 23 of dart:_js_helper/string_helper.dart: [DownCastCom posite] pattern.allMatches(receiver) (dynamic) will need runtime check to cast t o type Iterable<Match>
1118 for (Match match in pattern.allMatches(receiver)) { 1112 for (Match match in pattern.allMatches(receiver)) {
1119 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1113 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1120 severe: line 514, column 46 of dart:js: [AnalyzerMessage] The name 'Window' is n ot defined and cannot be used in an 'is' expression 1114 warning: line 325, column 44 of dart:js: [DownCastComposite] _convertToJS ((dyna mic) → dynamic) will need runtime check to cast to type (E) → dynamic
1121 || o is Node || o is TypedData || o is Window) {
1122 ^^^^^^
1123 severe: line 553, column 46 of dart:js: [AnalyzerMessage] The name 'Window' is n ot defined and cannot be used in an 'is' expression
1124 || o is Node || o is TypedData || o is Window)) {
1125 ^^^^^^
1126 severe: line 467, column 5 of dart:js: [AnalyzerMessage] Undefined name 'getIsol ateAffinityTag'
1127 getIsolateAffinityTag(r'_$dart_dartClosure');
1128 ^^^^^^^^^^^^^^^^^^^^^
1129 severe: line 552, column 60 of dart:js: [AnalyzerMessage] The name 'ImageData' i s not defined and cannot be used in an 'is' expression
1130 && (o is Blob || o is Event || o is KeyRange || o is ImageData
1131 ^^^^^^^^^
1132 severe: line 513, column 63 of dart:js: [AnalyzerMessage] The name 'ImageData' i s not defined and cannot be used in an 'is' expression
1133 } else if (o is Blob || o is Event || o is KeyRange || o is ImageData
1134 ^^^^^^^^^
1135 severe: line 465, column 5 of dart:js: [AnalyzerMessage] Undefined name 'getIsol ateAffinityTag'
1136 getIsolateAffinityTag(r'_$dart_dartObject');
1137 ^^^^^^^^^^^^^^^^^^^^^
1138 severe: line 514, column 15 of dart:js: [AnalyzerMessage] The name 'Node' is not defined and cannot be used in an 'is' expression
1139 || o is Node || o is TypedData || o is Window) {
1140 ^^^^
1141 severe: line 553, column 15 of dart:js: [AnalyzerMessage] The name 'Node' is not defined and cannot be used in an 'is' expression
1142 || o is Node || o is TypedData || o is Window)) {
1143 ^^^^
1144 severe: line 513, column 32 of dart:js: [AnalyzerMessage] The name 'Event' is no t defined and cannot be used in an 'is' expression
1145 } else if (o is Blob || o is Event || o is KeyRange || o is ImageData
1146 ^^^^^
1147 severe: line 552, column 29 of dart:js: [AnalyzerMessage] The name 'Event' is no t defined and cannot be used in an 'is' expression
1148 && (o is Blob || o is Event || o is KeyRange || o is ImageData
1149 ^^^^^
1150 warning: line 449, column 29 of dart:js: [AnalyzerMessage] Local variables canno t be referenced before they are declared
1151 _checkRange(start, end, length);
1152 ^^^^^^
1153 severe: line 465, column 5 of dart:js: [AnalyzerMessage] The function 'getIsolat eAffinityTag' is not defined
1154 getIsolateAffinityTag(r'_$dart_dartObject');
1155 ^^^^^^^^^^^^^^^^^^^^^
1156 severe: line 552, column 43 of dart:js: [AnalyzerMessage] The name 'KeyRange' is not defined and cannot be used in an 'is' expression
1157 && (o is Blob || o is Event || o is KeyRange || o is ImageData
1158 ^^^^^^^^
1159 severe: line 513, column 46 of dart:js: [AnalyzerMessage] The name 'KeyRange' is not defined and cannot be used in an 'is' expression
1160 } else if (o is Blob || o is Event || o is KeyRange || o is ImageData
1161 ^^^^^^^^
1162 severe: line 467, column 5 of dart:js: [AnalyzerMessage] The function 'getIsolat eAffinityTag' is not defined
1163 getIsolateAffinityTag(r'_$dart_dartClosure');
1164 ^^^^^^^^^^^^^^^^^^^^^
1165 severe: line 552, column 16 of dart:js: [AnalyzerMessage] The name 'Blob' is not defined and cannot be used in an 'is' expression
1166 && (o is Blob || o is Event || o is KeyRange || o is ImageData
1167 ^^^^
1168 severe: line 513, column 19 of dart:js: [AnalyzerMessage] The name 'Blob' is not defined and cannot be used in an 'is' expression
1169 } else if (o is Blob || o is Event || o is KeyRange || o is ImageData
1170 ^^^^
1171 warning: line 90, column 8 of dart:js: [AnalyzerMessage] Target of URI does not exist: 'dart:html'
1172 import 'dart:html' show Blob, Event, ImageData, Node, Window;
1173 ^^^^^^^^^^^
1174 warning: line 92, column 8 of dart:js: [AnalyzerMessage] Target of URI does not exist: 'dart:indexed_db'
1175 import 'dart:indexed_db' show KeyRange;
1176 ^^^^^^^^^^^^^^^^^
1177 warning: line 357, column 44 of dart:js: [DownCastComposite] _convertToJS ((dyna mic) → dynamic) will need runtime check to cast to type (E) → dynamic
1178 : super._fromJs([]..addAll(other.map(_convertToJS))); 1115 : super._fromJs([]..addAll(other.map(_convertToJS)));
1179 ^^^^^^^^^^^^ 1116 ^^^^^^^^^^^^
1180 warning: line 390, column 12 of dart:js: [DownCastComposite] super[index] (dynam ic) will need runtime check to cast to type E 1117 warning: line 358, column 12 of dart:js: [DownCastComposite] super[index] (dynam ic) will need runtime check to cast to type E
1181 return super[index]; 1118 return super[index];
1182 ^^^^^^^^^^^^ 1119 ^^^^^^^^^^^^
1183 warning: line 425, column 24 of dart:js: [DownCastImplicit] list (Object) will n eed runtime check to cast to type List<dynamic> 1120 warning: line 394, column 24 of dart:js: [DownCastImplicit] list (Object) will n eed runtime check to cast to type List<dynamic>
1184 callMethod('push', list); 1121 callMethod('push', list);
1185 ^^^^ 1122 ^^^^
1186 warning: line 435, column 12 of dart:js: [DownCastComposite] callMethod('splice' , [index, 1])[0] (dynamic) will need runtime check to cast to type E 1123 warning: line 404, column 12 of dart:js: [DownCastComposite] callMethod('splice' , [index, 1])[0] (dynamic) will need runtime check to cast to type E
1187 return callMethod('splice', [index, 1])[0]; 1124 return callMethod('splice', [index, 1])[0];
1188 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1125 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1189 warning: line 440, column 12 of dart:js: [DownCastComposite] callMethod('pop') ( dynamic) will need runtime check to cast to type E 1126 warning: line 409, column 12 of dart:js: [DownCastComposite] callMethod('pop') ( dynamic) will need runtime check to cast to type E
1190 return callMethod('pop'); 1127 return callMethod('pop');
1191 ^^^^^^^^^^^^^^^^^ 1128 ^^^^^^^^^^^^^^^^^
1192 warning: line 558, column 52 of dart:js: [DownCastImplicit] ms (num) will need r untime check to cast to type int 1129 warning: line 486, column 52 of dart:js: [DownCastImplicit] ms (num) will need r untime check to cast to type int
1193 return new DateTime.fromMillisecondsSinceEpoch(ms); 1130 return new DateTime.fromMillisecondsSinceEpoch(ms);
1194 ^^ 1131 ^^
1195 warning: line 568, column 12 of dart:js: [DownCastImplicit] _getDartProxy(o, _DA RT_CLOSURE_PROPERTY_NAME, (o) => new JsFunction._fromJs(o)) (Object) will need r untime check to cast to type JsObject
1196 return _getDartProxy(o, _DART_CLOSURE_PROPERTY_NAME,
1197 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1198 warning: line 571, column 12 of dart:js: [DownCastImplicit] _getDartProxy(o, _DA RT_OBJECT_PROPERTY_NAME, (o) => new JsArray._fromJs(o)) (Object) will need runti me check to cast to type JsObject
1199 return _getDartProxy(o, _DART_OBJECT_PROPERTY_NAME,
1200 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1201 warning: line 574, column 12 of dart:js: [DownCastImplicit] _getDartProxy(o, _DA RT_OBJECT_PROPERTY_NAME, (o) => new JsObject._fromJs(o)) (Object) will need runt ime check to cast to type JsObject
1202 return _getDartProxy(o, _DART_OBJECT_PROPERTY_NAME,
1203 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1204 severe: line 120, column 7 of dart:_js_mirrors: [AnalyzerMessage] Missing concre te implementation of getter 'TypeMirror.typeArguments', getter 'TypeMirror.isOri ginalDeclaration', getter 'DeclarationMirror.owner', getter 'DeclarationMirror.l ocation' and 10 more 1132 severe: line 120, column 7 of dart:_js_mirrors: [AnalyzerMessage] Missing concre te implementation of getter 'TypeMirror.typeArguments', getter 'TypeMirror.isOri ginalDeclaration', getter 'DeclarationMirror.owner', getter 'DeclarationMirror.l ocation' and 10 more
1205 class JsTypeMirror implements TypeMirror { 1133 class JsTypeMirror implements TypeMirror {
1206 ^^^^^^^^^^^^ 1134 ^^^^^^^^^^^^
1207 severe: line 47, column 7 of dart:_js_mirrors: [AnalyzerMessage] Missing concret e implementation of getter 'InstanceMirror.type', getter 'InstanceMirror.hasRefl ectee' and 'InstanceMirror.delegate' 1135 severe: line 47, column 7 of dart:_js_mirrors: [AnalyzerMessage] Missing concret e implementation of getter 'InstanceMirror.type', getter 'InstanceMirror.hasRefl ectee' and 'InstanceMirror.delegate'
1208 class JsInstanceMirror implements InstanceMirror { 1136 class JsInstanceMirror implements InstanceMirror {
1209 ^^^^^^^^^^^^^^^^ 1137 ^^^^^^^^^^^^^^^^
1210 severe: line 126, column 7 of dart:_js_mirrors: [AnalyzerMessage] Missing concre te implementation of getter 'VariableMirror.isStatic', getter 'VariableMirror.is Final', getter 'DeclarationMirror.owner', getter 'ParameterMirror.isOptional' an d 9 more 1138 severe: line 126, column 7 of dart:_js_mirrors: [AnalyzerMessage] Missing concre te implementation of getter 'VariableMirror.isStatic', getter 'VariableMirror.is Final', getter 'DeclarationMirror.owner', getter 'ParameterMirror.isOptional' an d 9 more
1211 class JsParameterMirror implements ParameterMirror { 1139 class JsParameterMirror implements ParameterMirror {
1212 ^^^^^^^^^^^^^^^^^ 1140 ^^^^^^^^^^^^^^^^^
1213 severe: line 84, column 7 of dart:_js_mirrors: [AnalyzerMessage] Missing concret e implementation of getter 'TypeMirror.typeArguments', getter 'ClassMirror.super interfaces', getter 'TypeMirror.isOriginalDeclaration', getter 'ClassMirror.stat icMembers' and 19 more 1141 severe: line 84, column 7 of dart:_js_mirrors: [AnalyzerMessage] Missing concret e implementation of getter 'TypeMirror.typeArguments', getter 'ClassMirror.super interfaces', getter 'TypeMirror.isOriginalDeclaration', getter 'ClassMirror.stat icMembers' and 19 more
1214 class JsClassMirror implements ClassMirror { 1142 class JsClassMirror implements ClassMirror {
1215 ^^^^^^^^^^^^^ 1143 ^^^^^^^^^^^^^
1216 severe: line 134, column 7 of dart:_js_mirrors: [AnalyzerMessage] Missing concre te implementation of getter 'MethodMirror.isSetter', getter 'MethodMirror.isCons tructor', getter 'MethodMirror.isConstConstructor', getter 'MethodMirror.isAbstr act' and 17 more 1144 severe: line 134, column 7 of dart:_js_mirrors: [AnalyzerMessage] Missing concre te implementation of getter 'MethodMirror.isSetter', getter 'MethodMirror.isCons tructor', getter 'MethodMirror.isConstConstructor', getter 'MethodMirror.isAbstr act' and 17 more
1217 class JsMethodMirror implements MethodMirror { 1145 class JsMethodMirror implements MethodMirror {
1218 ^^^^^^^^^^^^^^ 1146 ^^^^^^^^^^^^^^
1219 severe: line 61, column 35 of dart:_js_mirrors: [AnalyzerMessage] The argument t ype 'void' cannot be assigned to the parameter type 'Object' 1147 severe: line 61, column 35 of dart:_js_mirrors: [AnalyzerMessage] The argument t ype 'void' cannot be assigned to the parameter type 'Object'
1220 return new JsInstanceMirror._(field); 1148 return new JsInstanceMirror._(field);
1221 ^^^^^ 1149 ^^^^^
1222 warning: line 171, column 10 of dart:mirrors: [DownCastImplicit] (tm as ClassMir ror).originalDeclaration (TypeMirror) will need runtime check to cast to type Cl assMirror 1150 warning: line 171, column 10 of dart:mirrors: [DownCastImplicit] (tm as ClassMir ror).originalDeclaration (TypeMirror) will need runtime check to cast to type Cl assMirror
1223 return (tm as ClassMirror).originalDeclaration; 1151 return (tm as ClassMirror).originalDeclaration;
1224 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1152 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OLDNEW
« no previous file with comments | « tool/input_sdk/private/js_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698