Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: class :: takes type parameters #91

Open
paulpaul1076 opened this issue Aug 19, 2022 · 0 comments
Open

error: class :: takes type parameters #91

paulpaul1076 opened this issue Aug 19, 2022 · 0 comments

Comments

@paulpaul1076
Copy link

paulpaul1076 commented Aug 19, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant