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
@setparam:SuppressWarnings("onSetterParam3")
var prop3:Int
@OtherAnnotation("_onGetter3")
get() = 3
@OtherAnnotation("_onSetter3")
set(@OtherAnnotation("_onSetterParam3") value) = Unit
When I read the annotation on the value parameter of set, I only receive OtherAnnotation but not the SuppressWarnings coming from the property declaration.
The text was updated successfully, but these errors were encountered:
KSP alpha05 has some annotation target fixes which breaks Room's
workarounds. Unfortunately, we hit another bug which prevents us from
removing the use site target checks but i needed to change some to
handle the fixes in KSP.
google/ksp#355
Updated XAnnotationBox test to also run with pre-compiled code.
Unfortunately, KSP fails for annotation of annotations case:
google/ksp#356
There is also a recent KSP change to make some methods nullable (jvm
name methods). It is not in alpha05 yet but to future proof room's code,
I changed Room's code to handle them being null (even though compiler
complains, it is the correct change).
Bug: 160322705
Test: existing room tests
Change-Id: I4b88853d06c48cae563a6f3ad7363e6ff4ca0abf
For the given code:
When I read the annotation on the
value
parameter ofset
, I only receiveOtherAnnotation
but not theSuppressWarnings
coming from the property declaration.The text was updated successfully, but these errors were encountered: