Hello 👋
Any suggestions on how one would go around debugging
Copy code
org.jetbrains.kotlin.util.KotlinFrontEndException: Front-end Internal error: Failed to analyze declaration Variables
File being compiled: (35,3) in <Foo.kt>
The root cause java.lang.AssertionError was thrown at: org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassDescriptor.getModality(LazyClassDescriptor.java:564)
...
Caused by: java.lang.AssertionError: Recursion detected in a lazy value under LockBasedStorageManager@2f5a443e (TopDownAnalyzer for JVM)
Dariusz Kuc
07/21/2022, 5:40 PM
It blows up on something that "shouldn't" blow up, i.e.
Copy code
@Serializable
public data class Variables(
public val simpleCriteria: SimpleArgumentInput? = null,
)
@Serializable
public data class SimpleArgumentInput(
public val max: Double? = null,
public val min: Double? = null,
public val newName: String? = null,
)