File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
checkers/src/org/jetbrains/kotlin/fir/analysis/checkers
tree/src/org/jetbrains/kotlin/fir/declarations/utils Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -719,7 +719,7 @@ fun getActualTargetList(container: FirAnnotationContainer): AnnotationTargetList
719
719
}
720
720
is FirSimpleFunction -> {
721
721
when {
722
- annotated.isLocalInFunction -> TargetLists .T_LOCAL_FUNCTION
722
+ annotated.isLocal -> TargetLists .T_LOCAL_FUNCTION
723
723
annotated.isMember -> TargetLists .T_MEMBER_FUNCTION
724
724
else -> TargetLists .T_TOP_LEVEL_FUNCTION
725
725
}
Original file line number Diff line number Diff line change @@ -87,6 +87,3 @@ inline val FirFunction.hasBody: Boolean get() = body != null
87
87
inline val FirPropertyAccessor .hasBody: Boolean get() = body != null
88
88
89
89
inline val FirSimpleFunction .isLocal: Boolean get() = status.visibility == Visibilities .Local
90
-
91
- inline val FirSimpleFunction .isLocalInFunction: Boolean
92
- get() = status.visibility == Visibilities .Local && isReplSnippetDeclaration != true
You can’t perform that action at this time.
0 commit comments