Hello world,
Recently I was playing around and trying to integrate
arrow-optics
into one of our projects, but stumbled upon an issue. When declaring a
typealias
in the same file where I have
@optics
annotation, build of the gradle application fails with
Duplicated JVM name error
. I was able to overcome the issue by declaring
@file:JvmName("JvmNameOfFile")
, but quite curious to know if there are any other more elegant ways to fix it and fix the root cause. Any help would be much appreciated 🙏