airframe
airframe copied to clipboard
Surface.methodsOf[ObjLocal], failed with curried method
Surface.methodsOf[ObjLocal], failed with curried method
inline def apply[B](key: String)(using tag: ClassTag[B], conv: AtoB[A, B]): B = $get(key, tag, conv)
/* error */
inline def methodsOf[A]: Seq[MethodSurface]
wrong number of arguments at pickler for (key: String) (using tag: reflect.ClassTag[Any], conv: laz.core.lang.TypeModule.AtoB[String, Any] ): Any: (key: String) (using tag: reflect.ClassTag[Any], conv: laz.core.lang.TypeModule.AtoB[String, Any] ): Any, expected: 1, found: 3
Thanks for reporting. Is this an issue specific to your ObjLocal class or any class with curried methods?
Thank you for this amazing lib, any class or trait with complex curried method, my solution was to transfer the problematic methods to an extension.