[FIR] FirScriptSymbol: add stable toString
It will be used in tests ^KT-63042
This commit is contained in:
committed by
Space Team
parent
b3bc99a44a
commit
689fe28efa
@@ -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.
|
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -9,4 +9,6 @@ import org.jetbrains.kotlin.fir.declarations.FirScript
|
|||||||
import org.jetbrains.kotlin.fir.symbols.FirBasedSymbol
|
import org.jetbrains.kotlin.fir.symbols.FirBasedSymbol
|
||||||
import org.jetbrains.kotlin.name.FqName
|
import org.jetbrains.kotlin.name.FqName
|
||||||
|
|
||||||
class FirScriptSymbol(val fqName: FqName) : FirBasedSymbol<FirScript>()
|
class FirScriptSymbol(val fqName: FqName) : FirBasedSymbol<FirScript>() {
|
||||||
|
override fun toString(): String = "${this::class.simpleName} ${fqName.asString()}"
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user