izumi-reflect icon indicating copy to clipboard operation
izumi-reflect copied to clipboard

Support non-trivial lambdas in Scala-style rendering format

Open varshith257 opened this issue 1 year ago • 6 comments

Fixes #384

varshith257 avatar Nov 08 '24 22:11 varshith257

@pshirshov I have this approach in my mind to support nontrivial lamdas but it still emitting the same. Any suggestions for it?

varshith257 avatar Nov 08 '24 22:11 varshith257

 [error] /home/runner/work/izumi-reflect/izumi-reflect/izumi-reflect/izumi-reflect/src/main/scala/izumi/reflect/macrortti/LightTypeTag.scala:285:6: illegal start of simple expression
[error] =    case LightTypeTagRef.FullReference(_, args, _) if args.nonEmpty =>

I guess it might be a good idea to build locally first. sbt +clean +test:compile +test

pshirshov avatar Nov 08 '24 23:11 pshirshov

Ok, I will move these changes to LightTypeTagRef.scala

varshith257 avatar Nov 09 '24 22:11 varshith257

@varshith257 : could you tell me if you still wish to complete this? May I help you somehow?

pshirshov avatar Nov 11 '24 17:11 pshirshov

@pshirshov Yeah! I will push to complete it by EOD and will reachout you if I get struck anywhere

varshith257 avatar Nov 11 '24 17:11 varshith257

Just I needed to push the changes to ref and I exported there but a minor fixes needed of there for accessing shortname etc..as they are throwing few compilation errors

varshith257 avatar Nov 11 '24 17:11 varshith257