Starting getting this error after updating to use ...
# detekt
e
Starting getting this error after updating to use the latest compose material3 alpha
Copy code
java.lang.IllegalStateException: Analyzing ...kt led to an exception.
  Location: java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
  The original exception message was: java.lang.NoClassDefFoundError: Could not initialize class com.pinterest.ktlint.core.ast.ElementType
  Running detekt '1.23.7' on Java '22.0.2+9' on OS 'Linux'
Found the offending code, going to create an issue.