Skip to content

Revivable fails on a bound FunctionElement #320

@matanlurey

Description

@matanlurey

We assume every revived instance's element is a ClassElement.

It could be a FunctionElement (or MethodElement). We crash on as ClassElement.

... this is blocking adoption of static DI generation in AngularDart by an internal client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1A high priority bug; for example, a single project is unusable or has many test failurestype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions