[FIR] add memberRequiredPhase to declaredMemberScope
^KT-56551
This commit is contained in:
committed by
Space Team
parent
01a94624f5
commit
5b3f617378
+2
-2
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
@@ -42,7 +42,7 @@ class FirSerializablePropertiesProvider(session: FirSession) : FirExtensionSessi
|
||||
private fun createSerializableProperties(classSymbol: FirClassSymbol<*>): FirSerializableProperties {
|
||||
val allPropertySymbols = buildList {
|
||||
classSymbol
|
||||
.declaredMemberScope(session)
|
||||
.declaredMemberScope(session, memberRequiredPhase = null)
|
||||
.processAllProperties {
|
||||
addIfNotNull(it as? FirPropertySymbol)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user