Skip to content

Lower bound of generic parameter is not respected #28369

Closed
@jacehensley-wf

Description

@jacehensley-wf

Dart Version: 1.21.0

Problem

  • Lower bound of generic parameters is not respected in strong mode.

Dartpad

Expected Behavior

  • Dart should realize that ReturnType is T.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions