simon.vergauwen
11/30/2022, 3:36 PMKtElement
hierarchy. Making it quite easy to inspect and find certain usages, I was wondering if there was something like "auto-fix" like KtLint auto-formatting I can leverage as well.
Otherwise, just finding certain usages and modifying the files is also an option 🤔simon.vergauwen
11/30/2022, 3:47 PMSebastian Schuberth
11/30/2022, 4:13 PMSebastian Schuberth
11/30/2022, 4:13 PMsimon.vergauwen
11/30/2022, 4:24 PMsimon.vergauwen
11/30/2022, 4:26 PMimport arrow.core.continuations.effect
to import arrow.core.raise.effect
and add an additional import. For example import arrow.core.raise.fold
.
That would solve 99% of the expected migration work from 1.x.x to 2.x.x in Arrowbod
11/30/2022, 5:33 PMkotlin-compiler-embeddable
directly. For simple fixes (like the one you show above), it's not too hard to use - and you can get inspiration from the detekt source for how to setup things. As soon as you need to resolve types however it's getting complicated.gammax
11/30/2022, 5:39 PMBrais Gabin
11/30/2022, 10:01 PMschalkms
11/30/2022, 10:16 PMschalkms
11/30/2022, 10:17 PMBrais Gabin
11/30/2022, 10:49 PM