Use AnnotationSplitter for annotations on setter parameter
Make it possible to specify annotations of the setter parameter when constructing the default setter via DescriptorFactory; pass the split annotations in DescriptorResolver.resolvePropertySetterDescriptor #KT-25500 Fixed
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ class Delegate {
|
||||
fun test() {
|
||||
check(::delegate.getter, annotationExists = true)
|
||||
check(::delegate.setter, annotationExists = true)
|
||||
check(::delegate.setter.parameters.first(), annotationExists = false) // https://youtrack.jetbrains.com/issue/KT-25500
|
||||
check(::delegate.setter.parameters.first(), annotationExists = true)
|
||||
}
|
||||
|
||||
class CustomDelegate {
|
||||
|
||||
Reference in New Issue
Block a user