| Index: pkg/dev_compiler/tool/sdk_expected_errors.txt
|
| diff --git a/pkg/dev_compiler/tool/sdk_expected_errors.txt b/pkg/dev_compiler/tool/sdk_expected_errors.txt
|
| index 53fd01fb35e33539d8b624d946e36328ed4451ff..42bc03560d662459bbba85ae42376c3ed71c3aa3 100644
|
| --- a/pkg/dev_compiler/tool/sdk_expected_errors.txt
|
| +++ b/pkg/dev_compiler/tool/sdk_expected_errors.txt
|
| @@ -1,9 +1,11 @@
|
| [error] Couldn't infer type parameter 'T'.
|
|
|
| -Inferred type '_ControllerEventSinkWrapper<dynamic>' does not work with constraints:
|
| - Argument 'action' inferred as '(EventSink<T>) → dynamic' must be a '(T) → R'.
|
| +Tried to infer '_ControllerEventSinkWrapper<dynamic>' for 'T' which doesn't work:
|
| + Parameter 'action' declared as '(T) → R'
|
| + but argument is '(EventSink<T>) → dynamic'.
|
| The type '_ControllerEventSinkWrapper<dynamic>' was inferred from:
|
| - Argument 'argument' inferred as '_ControllerEventSinkWrapper<dynamic>' must be a 'T'.
|
| + Parameter 'argument' declared as 'T'
|
| + but argument is '_ControllerEventSinkWrapper<dynamic>'.
|
|
|
| Consider passing explicit type argument(s) to the generic.
|
|
|
| @@ -45,6 +47,10 @@ Consider passing explicit type argument(s) to the generic.
|
| [error] Only redirecting factory constructors can be declared to be 'const'. (dart:core/string.dart, line 156, col 9)
|
| [error] Const constructors can't throw exceptions. (dart:core/string.dart, line 157, col 5)
|
| [error] Annotation must be either a const variable reference or const constructor invocation. (dart:developer, line 39, col 1)
|
| +[error] The getter 'value' isn't defined for the class 'num'. (dart:html, line 40493, col 21)
|
| +[error] A value of type 'Dimension' can't be assigned to a variable of type 'num'. (dart:html, line 40493, col 44)
|
| +[error] The getter 'value' isn't defined for the class 'num'. (dart:html, line 40513, col 20)
|
| +[error] A value of type 'Dimension' can't be assigned to a variable of type 'num'. (dart:html, line 40513, col 42)
|
| [error] Base class introduces an invalid override. The type of 'Converter.bind' ('(Stream<List<int>>) → Stream<List<int>>') isn't a subtype of 'ChunkedConverter<List<int>, List<int>, List<int>, List<int>>.bind' ('(dynamic) → dynamic'). (dart:io/data_transformer.dart, line 295, col 19)
|
| [error] Invalid override. The type of 'ZLibEncoder.startChunkedConversion' ('(Sink<List<int>>) → ByteConversionSink') isn't a subtype of 'ChunkedConverter<List<int>, List<int>, List<int>, List<int>>.startChunkedConversion' ('(dynamic) → dynamic'). (dart:io/data_transformer.dart, line 388, col 3)
|
| [error] The argument type '(RandomAccessFile) → Future<RandomAccessFile>' can't be assigned to the parameter type '(RandomAccessFile) → FutureOr<File>'. (dart:io/file_impl.dart, line 202, col 30)
|
|
|