Skip to content

bug without instantiation #414

@gocpicnic

Description

@gocpicnic

In users.bob.go,some code like:

type userWhere[Q sqlite.Filterable] struct {
	ID        sqlite.WhereMod[Q, int32]
	Name      sqlite.WhereMod[Q, string]
	Email     sqlite.WhereMod[Q, string]
	CreatedAt sqlite.WhereNullMod[Q, time.Time]
}

when I run :
easyjson -all users.bob.go
I got:
./users.bob_easyjson.go:46:8: cannot use generic type userWhere[Q sqlite.Filterable] without instantiation

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