Skip to content

analysis feedback changes if you include sky_engine in your project #6769

@sethladd

Description

@sethladd

Repro case and instructions here: https://gist.github.com/sethladd/79b6d1cdcc9d3b29b5e3acc27581944a

We'd expect there to be no warnings for the code in lib/main.dart, however the inclusion of sky_engine package into .packages is enough to trigger the warning.

The warning we get:

[warning] Unsound implicit cast from 'List<dynamic>' to 'List<Bar>'. (/Users/sethladd/tmp/repocase/lib/main.dart, line 8, col 23)

Which, we're told, is something we shouldn't be getting. The code should be valid (we're told).

Tested with:

~/tmp/repocase $ dartanalyzer --version
dartanalyzer version 1.21.0-dev.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer: fuchsiatoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions