You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
===============================================================================================================================\
| analyzer-asserts-strong-linux:lib/html/js_typed_interop_side_cast_exp_test/01 broke (Pass -> CompileTimeError, expected Pass) |
\===============================================================================================================================/
--- Command "dart2analyzer" (took 50ms):
DART_CONFIGURATION=ReleaseX64NNBD out/ReleaseX64NNBD/dart-sdk/bin/dartanalyzer --experimental-trust-js-interop-type-annotations --enable-experiment=non-nullable --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --format=machine --no-hints /b/s/w/ir/cache/builder/sdk/out/ReleaseX64NNBD/generated_tests/lib/html/js_typed_interop_side_cast_exp_test_01.dart
exit code:
1
stderr:
ERROR|COMPILE_TIME_ERROR|MISSING_DEFAULT_VALUE_FOR_PARAMETER|/b/s/w/ir/cache/builder/sdk/out/ReleaseX64NNBD/generated_tests/lib/html/js_typed_interop_side_cast_exp_test_01.dart|34|27|1|The parameter 'x' can't have a value of 'null' because of its type, so it must either be a required parameter or have a default value.
ERROR|COMPILE_TIME_ERROR|MISSING_DEFAULT_VALUE_FOR_PARAMETER|/b/s/w/ir/cache/builder/sdk/out/ReleaseX64NNBD/generated_tests/lib/html/js_typed_interop_side_cast_exp_test_01.dart|20|27|1|The parameter 'x' can't have a value of 'null' because of its type, so it must either be a required parameter or have a default value.
ERROR|COMPILE_TIME_ERROR|MISSING_DEFAULT_VALUE_FOR_PARAMETER|/b/s/w/ir/cache/builder/sdk/out/ReleaseX64NNBD/generated_tests/lib/html/js_typed_interop_side_cast_exp_test_01.dart|27|27|1|The parameter 'x' can't have a value of 'null' because of its type, so it must either be a required parameter or have a default value.
--- Re-run this test:
python tools/test.py -n analyzer-asserts-strong-linux lib/html/js_typed_interop_side_cast_exp_test/01
The error at the line 20 is for x here, it is named and no required, so the spec says that this is an error.
See the log for details.
For example:
The error at the line
20
is forx
here, it is named and no required, so the spec says that this is an error.The text was updated successfully, but these errors were encountered: