Skip to content

Mocking types referencing unsafe package or referencing non-existing types causes an error #117

Closed
@myshkin5

Description

@myshkin5

Non-existing types are less of an issue because even if the mock is generated, won't compile. But x/tools/go/packages doesn't return any unsafe types (see golang/go#59929 and the code referencing the issue).

Expected results: users should be able to generate mocks referencing the unsafe package (and non-existing types sort of too).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions