39c38aa588
- There is no other usage of `AssertionError` in the `org.jetbrains.kotlin.psi` package. `errorWithAttachment` is more idiomatic, throws an `Exception` instead of an `Error`, and avoids leaking user code.