-
Notifications
You must be signed in to change notification settings - Fork 53
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
Doesn't work with literal type #157
Comments
KacperFKorban
added a commit
to KacperFKorban/quicklens
that referenced
this issue
May 3, 2023
This allows manually specifying type arguments of the focused field Also suppress some warnings in Scala 3 macros related to softwaremill#157
Now it should be possible to do case class Test(f: "foo")
Test("foo").modify["foo"](_.f).setTo("foo") |
Thanks. Test("foo").modify(_.f)
Found: String
Required: ("foo" : String) |
The issue is with type inference. The compiler infers the type parameter of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
scala 3.2.2
quicklens v1.9.2
also doesn't work
The text was updated successfully, but these errors were encountered: