Skip to content

Import uri of revived constants is derived in a brittle way #768

Open
@mattrbeck

Description

@mattrbeck

Mockito assumes that the import uri is where an constant's type is defined, which isn't always true. This may not cause problems today, but it breaks when trying to revive variables directly in source_gen. See dart-lang/source_gen#713 (comment) for details

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