``` > Internal error: org.jetbrains.kotlin.code...
# gradle
j
Copy code
> Internal error: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Error type encountered: [ERROR : Unsubstituted type for <ERROR CLASS>] (ErrorTypeImpl).
  Cause: Error type encountered: [ERROR : Unsubstituted type for <ERROR CLASS>] (ErrorTypeImpl).
  File being compiled and position: (108,16) in ...Project1.gradle.kts
  PsiElement: componentSelection {
                  it.all { selection: ComponentSelection, metadata: ComponentMetadata ->
                      println(metadata.status)
                      selection.reject("Rejecting all")
                  }
              }