Deprecate KmProperty.hasGetter(hasSetter) in favor of KmProperty.getter(setter)
as a follow-up of flag deprecation. #KT-59440
This commit is contained in:
committed by
Space Team
parent
389632ed53
commit
8b821e1feb
-2
@@ -281,12 +281,10 @@ private class MappingExtensions(
|
||||
modality = ps.modality.kmModality
|
||||
kind = MemberKind.DECLARATION
|
||||
hasAnnotations = ps.annotations.isNotEmpty()
|
||||
hasGetter = true
|
||||
when (ps.kind) {
|
||||
is PropertyStub.Kind.Val -> {}
|
||||
is PropertyStub.Kind.Var -> {
|
||||
isVar = true
|
||||
hasGetter = true
|
||||
}
|
||||
is PropertyStub.Kind.Constant -> {
|
||||
isConst = true
|
||||
|
||||
Reference in New Issue
Block a user