fix: nested lambda base rewriting in combine#584
fix: nested lambda base rewriting in combine#584AriajSarkar wants to merge 1 commit intozio:developfrom
Conversation
|
Hi @AriajSarkar, thanks for the attempt, but the diff is large and unexplained (I suspect that a proper fix can be done via a much smaller diff) + 2 progression tests were removed (not inverted), so it's not clear whether the misbehavior they were capturing was fixed or just changed. Someone has to know what's going on in the code - merging a significant refactor by LLM means no one knows anymore - not me, not you, not the LLM. The project is not LLM-first - Issue 1. it's somewhat brittle (LLM-first projects require much more extensive test suites, to prevent LLMs from introducing regressions), Issue 2. it's largely undocumented (while the project itself is small, there's a lot of implied nuance in the subject matter that an LLM misses on glance). Now, what can be done to make the project LLM-first is correcting both of these. The second issue is easier - you may put Claude Code onto a research task to crawl through the code, through git history, through issues, through associated Scala Macro APIs and make it write down as much as it can into an Note: just putting my post into the LLM prompt is unlikely to result in usable output. Claude usually has to be carefully prompted to perform research tasks in a non-lazy way, such that they actually contain useful information, not already obvious trivia. |
LightTypeTag.combineandcombineNonPosto only apply outer arguments to inherited lambda basesRuntimeAPI.unpackwith abstract type bounds and intersectionsTesting
sbt "++2.13.14" "izumi-reflectJVM/testOnly izumi.reflect.test.TagTest -- -z RuntimeAPI.unpack"sbt "++2.13.14" "izumi-reflectJVM/testOnly izumi.reflect.test.TagTest"sbt "++2.13.14" "izumi-reflectJVM/testOnly izumi.reflect.test.TagCombineTest"sbt "++2.13.14" "izumi-reflectJVM/test"sbt +testCloses #571