You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
value each is not a member of ModifyEachTest.this.OptWrap[String].
An extension method was tried, but could not be fully constructed:
com.softwaremill.quicklens.each[[T] =>>Option[ModifyEachTest.this.Wrapper[T]],
String](_$8.f1)(
com.softwaremill.quicklens.QuicklensFunctor.given_QuicklensFunctor_M[K, M])
failed with:Nogiveninstance of typecom.softwaremill.quicklens.QuicklensFunctor[
[T] =>>Option[ModifyEachTest.this.Wrapper[T]]] was found for an implicit parameter of method each in packagecom.softwaremill.quicklens.
Ifound:
com.softwaremill.quicklens.QuicklensFunctor.given_QuicklensFunctor_M[K, M]
Butgiveninstance given_QuicklensFunctor_M in objectQuicklensFunctor does not matchtypecom.softwaremill.quicklens.QuicklensFunctor[
[T] =>>Option[ModifyEachTest.this.Wrapper[T]]].
modify(x)(_.f1.each.value).using(duplicate)
Is it possible to support such cases in quicklens?
The text was updated successfully, but these errors were encountered:
Both scala 3 and 2.13. I think it's not macro-related, but QuicklensFunctor must be defined differently. I tried to add such QuicklensFunctor implementation but failed.
Let's consider case class containing optional wrapped generic field:
It works correctly.
But if we define generic type alias like that:
then it fails to compile with error:
Is it possible to support such cases in quicklens?
The text was updated successfully, but these errors were encountered: