You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If 'SuperA' is suddenly not public, 'A' is still valid in Ksp and there may generate some unexpected wrong declarations which would be also hinted at the console, making it hard to find the root cause. There are also many other examples like 'annotation arguments of wrong types' and 'unknown and not imported references'.
I don't suggest improving KSP checking because they are complicated and time-consuming. Since Kotlin plugin checks problems before 'building', why not let it disable 'build' button directly if there are some unsolvable problems? (Solvable problems are those caused by unknown but imported references)
The text was updated successfully, but these errors were encountered:
ShawxingKwok
changed the title
Let Kotlin plugin disable 'build' button if there are some insolvable problems.
Let Kotlin plugin disable 'build' button if there are any insolvable problem.
Nov 16, 2022
ShawxingKwok
changed the title
Let Kotlin plugin disable 'build' button if there are any insolvable problem.
Let Kotlin plugin disable 'build' button if there is any insolvable problem.
Nov 16, 2022
Now that IDE not indexing generated source#37 is fixed, is this still an issue?
OTOH, sources are inherently incomplete / not build-able in projects that rely on code generation. In general, KSP won't be able to know whether a reference is valid or not before processors run.
I mean calling help from IDE and Kotlin plugin to realize this feature. Besides, they could also tell ksp the specfic invalid files, or invalid symbols further before processing, making the validation process much less.
For example,
In some other file
If 'SuperA' is suddenly not public, 'A' is still valid in Ksp and there may generate some unexpected wrong declarations which would be also hinted at the console, making it hard to find the root cause. There are also many other examples like 'annotation arguments of wrong types' and 'unknown and not imported references'.
I don't suggest improving KSP checking because they are complicated and time-consuming. Since Kotlin plugin checks problems before 'building', why not let it disable 'build' button directly if there are some unsolvable problems? (Solvable problems are those caused by unknown but imported references)
The text was updated successfully, but these errors were encountered: