Skip to content

Commit 270f2f3

Browse files
committed
Move constant to companion object
1 parent d8ec0d0 commit 270f2f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/Fir2IrClassifierStorage.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ class Fir2IrClassifierStorage(
6363

6464
private val localStorage = Fir2IrLocalStorage()
6565

66-
private val SELF_TYPE_IDENTIFIER = Name.identifier("\$Self")
67-
6866
private fun FirTypeRef.toIrType(typeContext: ConversionTypeContext = ConversionTypeContext.DEFAULT): IrType =
6967
with(typeConverter) { toIrType(typeContext) }
7068

@@ -580,4 +578,8 @@ class Fir2IrClassifierStorage(
580578
parent = IrExternalPackageFragmentImpl(IrExternalPackageFragmentSymbolImpl(), FqName.ROOT)
581579
}
582580
}
581+
582+
companion object Fir2IrClassifierStorage {
583+
private val SELF_TYPE_IDENTIFIER = Name.identifier("\$Self")
584+
}
583585
}

0 commit comments

Comments
 (0)