Skip to content

The targetId argument in evaluate might not be a library ID #2336

Open
@elliette

Description

@elliette

DWDS currently assumes that the targetId argument in evaluate is always a library ID:

final library = await inspector.getLibrary(targetId);

This is not the case, targetId might be a library, class or instance:

final library = await inspector.getLibrary(targetId);

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onpackage:dwdstriaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions