Hi, I'm encountering this issue <https://github.co...
# arrow
l
Hi, I'm encountering this issue https://github.com/arrow-kt/arrow/issues/2725 with Arrow Optics in a Kotlin Multiplatform project. The NPE points to this line of code https://github.com/arrow-kt/arrow/blob/ebd3406effb503ca1909e3b7110232ef85a9ba06/ar[…]ugin/src/main/kotlin/arrow/optics/plugin/internals/processor.kt I have found that it has already been fixed in the
removed-in-arrow-2
branch in this commit: https://github.com/arrow-kt/arrow/commit/62044120c483b01304819900a5e4cd8b4f1e8ece Would it be possible to back-port this fix to the current version?
s
Hey @Lukáš Kúšik, It seems it's definitely back-portable. Not sure why it was only fixed for 2.x.x 🤔 Are you up for creating a small PR for it? We should be able to release a new patch version soon, and in the meanwhile you could rely on a fixed
alpha-xx
for the KSP plugin right after it gets merged.
l
all right, give me a minute
s
Awesome, thank you @Lukáš Kúšik! Lets merge it asap ☺️
You can safely depend on
1.1.4-alpha.8
with your fix, and I am going to prep the patch release this week 🤞