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

MkFieldLens.mkFieldLens returns a derived type instead of type parameter #1323

Closed
liorregev opened this issue Sep 6, 2023 · 0 comments · Fixed by #1324
Closed

MkFieldLens.mkFieldLens returns a derived type instead of type parameter #1323

liorregev opened this issue Sep 6, 2023 · 0 comments · Fixed by #1324

Comments

@liorregev
Copy link
Contributor

MkFieldLens.mkFieldLens[A, N <: Nat, R <: HList, B] returns an Aux[A, K, mkLens.Elem] instead of using MkRecordSelectLens.Aux[R, K, B] and return a Aux[A, K, B]

While this compiles just fine, it makes the job harder for static code analysis and intellij specifically is getting confused by it

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

Successfully merging a pull request may close this issue.

1 participant