Skip to content

error: class :: takes type parameters #91

@paulpaul1076

Description

@paulpaul1076

I define a Reads object like so:
val reestrdocReads = Jsonx.formatAuto[Reestrdoc]
but when I compile my code, I get this error, which points me to the definition of my Reads object:
error: class :: takes type parameters.

The "::" thing is a list I assume.

I do have a field in one of my case classes that is defined like so: tc_goods: ::[TcGoodsTtnoutEgais].

What is the issue here?

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