diff --git a/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/FirQualifierPart.kt b/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/FirQualifierPart.kt index 32db320579f..b5b309cf2f8 100644 --- a/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/FirQualifierPart.kt +++ b/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/FirQualifierPart.kt @@ -9,12 +9,12 @@ import org.jetbrains.kotlin.KtSourceElement import org.jetbrains.kotlin.name.Name interface FirTypeArgumentList { - val source: KtSourceElement + val source: KtSourceElement? val typeArguments: List } interface FirQualifierPart { - val source: KtSourceElement + val source: KtSourceElement? val name: Name val typeArgumentList: FirTypeArgumentList -} \ No newline at end of file +} diff --git a/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/impl/FirQualifierPartImpl.kt b/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/impl/FirQualifierPartImpl.kt index 8cf7e6d1030..275a79d23ae 100644 --- a/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/impl/FirQualifierPartImpl.kt +++ b/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/impl/FirQualifierPartImpl.kt @@ -11,12 +11,12 @@ import org.jetbrains.kotlin.fir.types.FirTypeArgumentList import org.jetbrains.kotlin.fir.types.FirTypeProjection import org.jetbrains.kotlin.name.Name -class FirTypeArgumentListImpl(override val source: KtSourceElement) : FirTypeArgumentList { +class FirTypeArgumentListImpl(override val source: KtSourceElement?) : FirTypeArgumentList { override val typeArguments = mutableListOf() } class FirQualifierPartImpl( - override val source: KtSourceElement, + override val source: KtSourceElement?, override val name: Name, override val typeArgumentList: FirTypeArgumentList -) : FirQualifierPart \ No newline at end of file +) : FirQualifierPart