google / google/ksp

Improve diagnostics by returning last round dismissible errors when KSP fails.

Open
#3,196 1 comment 0 reactions 1 assignee Claimed by @jaschdoc View on GitHub
enhancement P2
Dominant language
Kotlin
Stars
3.5k
Forks
415
Avg merge
1d 2h
Merged PRs (30d)
53

Description

I'm getting a few reports with the same root cause. The initial problem is a syntax error at the application level. Sometimes we find actual problems with toolchain, code generation or else. Sometimes is pure syntax problems. Ideally we want to improve diagnostics to make it easier for devs to find problems with their code.

We already implemented last round dismissible errors for KAPT and now I added a [typeCheck](https://github.com/google/ksp/pull/3195) function for KSP so we get this error details. Please let me know what you think.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.