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

Unified Diff: tool/sdk_expected_errors.txt

Issue 1808123006: Tweaks to compile against latest analyzer. Also changes the travis (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« .travis.yml ('K') | « test/codegen/expect/language-all.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/sdk_expected_errors.txt
diff --git a/tool/sdk_expected_errors.txt b/tool/sdk_expected_errors.txt
index fa87f710b821f6a3a0ffc7d582149128178c128a..07d772f0d359fa4810ca0fc8e5fee271d7c67cc0 100644
--- a/tool/sdk_expected_errors.txt
+++ b/tool/sdk_expected_errors.txt
@@ -1,5 +1,4 @@
severe: [AnalyzerMessage] The argument type 'InternalMap' cannot be assigned to the parameter type 'Map'. (dart:_isolate_helper/isolate_serialization.dart, line 47, col 47)
-severe: [STATIC_TYPE_ERROR] Type check failed: x (InternalMap) is not of type Map<dynamic, dynamic> (dart:_isolate_helper/isolate_serialization.dart, line 47, col 47)
severe: [AnalyzerMessage] Missing concrete implementation of 'num.==' (dart:_interceptors/js_number.dart, line 12, col 7)
severe: [AnalyzerMessage] Missing concrete implementation of 'String.==' (dart:_interceptors/js_string.dart, line 14, col 7)
severe: [STATIC_TYPE_ERROR] Type check failed: (_BroadcastSubscription<T> subscription) {subscription._close();} ((_BroadcastSubscription<T>) → void) is not of type (_BufferingStreamSubscription<T>) → void (dart:async/broadcast_stream_controller.dart, line 371, col 24)
@@ -241,7 +240,6 @@ warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from num to T (dart:math/re
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from num to T (dart:math/rectangle.dart, line 263, col 30)
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to List<String> (dart:_debugger, line 25, col 5)
severe: [AnalyzerMessage] The argument type 'Iterable<E>' cannot be assigned to the parameter type 'Iterable<int>'. (dart:js, line 424, col 40)
-severe: [STATIC_TYPE_ERROR] Type check failed: iterable.skip(skipCount).take(length) (Iterable<E>) is not of type Iterable<int> (dart:js, line 424, col 40)
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:js, line 360, col 12)
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:js, line 406, col 12)
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:js, line 411, col 12)
@@ -403,7 +401,6 @@ severe: [AnalyzerMessage] The final variables 'form', 'htmlFor' and '5' more mus
severe: [AnalyzerMessage] The final variables 'labels' and 'position' must be initialized (dart:html, line 25757, col 3)
severe: [AnalyzerMessage] The final variables 'form', 'labels' and '4' more must be initialized (dart:html, line 27206, col 3)
severe: [AnalyzerMessage] The argument type 'List<Element>' cannot be assigned to the parameter type 'Iterable<OptionElement>'. (dart:html, line 27302, col 37)
-severe: [STATIC_TYPE_ERROR] Type check failed: options (List<Element>) is not of type Iterable<OptionElement> (dart:html, line 27302, col 37)
severe: [INVALID_METHOD_OVERRIDE] Invalid override. The type of SharedWorker.onError (() → Stream<Event>) is not a subtype of AbstractWorker.onError (() → Stream<ErrorEvent>). (dart:html, line 27862, col 3)
severe: [INVALID_METHOD_OVERRIDE] Invalid override. The type of Storage.containsValue ((String) → bool) is not a subtype of Map<String, String>.containsValue ((Object) → bool). (dart:html, line 28874, col 3)
severe: [INVALID_METHOD_OVERRIDE] Invalid override. The type of Storage.containsKey ((String) → bool) is not a subtype of Map<String, String>.containsKey ((Object) → bool). (dart:html, line 28876, col 3)
@@ -453,10 +450,8 @@ severe: [INVALID_METHOD_OVERRIDE] Invalid override. The type of CssClassSet.cont
severe: [INVALID_METHOD_OVERRIDE] Invalid override. The type of CssClassSet.removeAll ((Iterable<String>) → void) is not a subtype of Set<String>.removeAll ((Iterable<Object>) → void). (dart:html, line 36573, col 3)
severe: [AnalyzerMessage] The getter 'value' is not defined for the class 'num'. (dart:html, line 36620, col 21)
severe: [AnalyzerMessage] A value of type 'Dimension' cannot be assigned to a variable of type 'num' (dart:html, line 36620, col 44)
-severe: [STATIC_TYPE_ERROR] Type check failed: new Dimension.px(0) (Dimension) is not of type num (dart:html, line 36620, col 44)
severe: [AnalyzerMessage] The getter 'value' is not defined for the class 'num'. (dart:html, line 36638, col 20)
severe: [AnalyzerMessage] A value of type 'Dimension' cannot be assigned to a variable of type 'num' (dart:html, line 36638, col 42)
-severe: [STATIC_TYPE_ERROR] Type check failed: new Dimension.px(0) (Dimension) is not of type num (dart:html, line 36638, col 42)
severe: [INVALID_FIELD_OVERRIDE] Field declaration MutableRectangle<num>.left cannot be overridden in CssRect. (dart:html, line 36753, col 3)
severe: [INVALID_FIELD_OVERRIDE] Field declaration MutableRectangle<num>.top cannot be overridden in CssRect. (dart:html, line 36755, col 3)
severe: [INVALID_METHOD_OVERRIDE] Invalid override. The type of _ElementCssClassSet.removeAll ((Iterable<String>) → void) is not a subtype of CssClassSetImpl.removeAll ((Iterable<Object>) → void). (dart:html, line 36972, col 3)
@@ -474,11 +469,8 @@ severe: [INVALID_METHOD_OVERRIDE] Invalid override. The type of _CustomEventStre
severe: [AnalyzerMessage] Missing concrete implementation of 'Stream.asBroadcastStream' (dart:html, line 37528, col 7)
severe: [INVALID_METHOD_OVERRIDE] Base class introduces an invalid override. The type of _CustomEventStreamImpl.asBroadcastStream (({onListen: (StreamSubscription<dynamic>) → void, onCancel: (StreamSubscription<dynamic>) → void}) → Stream<KeyEvent>) is not a subtype of Stream<KeyEvent>.asBroadcastStream (({onListen: (StreamSubscription<KeyEvent>) → void, onCancel: (StreamSubscription<KeyEvent>) → void}) → Stream<KeyEvent>). (dart:html, line 37528, col 33)
severe: [AnalyzerMessage] The return type '_EventStream<Event>' is not a 'Stream<T>', as defined by the method 'forTarget'. (dart:html, line 37609, col 12)
-severe: [STATIC_TYPE_ERROR] Type check failed: new _EventStream(e, _eventTypeGetter(e), useCapture) (_EventStream<Event>) is not of type Stream<T> (dart:html, line 37609, col 12)
severe: [AnalyzerMessage] The return type '_ElementEventStreamImpl<Event>' is not a 'ElementStream<T>', as defined by the method 'forElement'. (dart:html, line 37613, col 12)
-severe: [STATIC_TYPE_ERROR] Type check failed: new _ElementEventStreamImpl(e, _eventTypeGetter(e), useCapture) (_ElementEventStreamImpl<Event>) is not of type ElementStream<T> (dart:html, line 37613, col 12)
severe: [AnalyzerMessage] The return type '_ElementListEventStreamImpl<Event>' is not a 'ElementStream<T>', as defined by the method '_forElementList'. (dart:html, line 37618, col 12)
-severe: [STATIC_TYPE_ERROR] Type check failed: new _ElementListEventStreamImpl(e, _eventTypeGetter(e), useCapture) (_ElementListEventStreamImpl<Event>) is not of type ElementStream<T> (dart:html, line 37618, col 12)
severe: [INVALID_SUPER_INVOCATION] super call must be last in an initializer list (see https://goo.gl/EY6hDP): super(_EVENT_TYPE) (dart:html, line 39056, col 38)
severe: [AnalyzerMessage] The getter '_shadowCharCode' is not defined for the class 'KeyboardEvent'. (dart:html, line 39089, col 21)
severe: [AnalyzerMessage] The getter '_shadowCharCode' is not defined for the class 'KeyboardEvent'. (dart:html, line 39094, col 47)
@@ -509,7 +501,6 @@ severe: [INVALID_METHOD_OVERRIDE] Invalid override. The type of CssClassSetImpl.
severe: [INVALID_METHOD_OVERRIDE] Invalid override. The type of CssClassSetImpl.fold ((dynamic, (dynamic, String) → dynamic) → dynamic) is not a subtype of IterableBase<String>.fold (<T>(T, (T, String) → T) → T). (dart:html_common/css_class_set.dart, line 79, col 3)
severe: [INVALID_METHOD_OVERRIDE] Invalid override. The type of CssClassSetImpl.difference ((Set<String>) → Set<String>) is not a subtype of Set<String>.difference ((Set<Object>) → Set<String>). (dart:html_common/css_class_set.dart, line 186, col 3)
severe: [AnalyzerMessage] The argument type 'List<Node>' cannot be assigned to the parameter type 'Iterable<Element>'. (dart:html_common/filtered_element_list.dart, line 34, col 25)
-severe: [STATIC_TYPE_ERROR] Type check failed: _childNodes (List<Node>) is not of type Iterable<Element> (dart:html_common/filtered_element_list.dart, line 34, col 25)
severe: [AnalyzerMessage] The final variables 'href' and 'target' must be initialized (dart:svg, line 60, col 3)
severe: [AnalyzerMessage] The final variable 'href' must be initialized (dart:svg, line 96, col 3)
severe: [AnalyzerMessage] The final variables 'requiredExtensions', 'requiredFeatures' and '2' more must be initialized (dart:svg, line 532, col 3)
« .travis.yml ('K') | « test/codegen/expect/language-all.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698