FIR: Resolve local callables
This commit is contained in:
@@ -14,7 +14,11 @@ import org.jetbrains.kotlin.name.Name
|
||||
data class CallableId(val packageName: FqName, val className: FqName?, val callableName: Name) {
|
||||
val classId: ClassId? get() = className?.let { ClassId(packageName, it, false) }
|
||||
|
||||
constructor(packageName: FqName, callableName: Name): this(packageName, null, callableName)
|
||||
constructor(packageName: FqName, callableName: Name) : this(packageName, null, callableName)
|
||||
|
||||
@Deprecated("TODO: Better solution for local callables?")
|
||||
constructor(callableName: Name) : this(FqName.topLevel(Name.special("<local>")), null, callableName)
|
||||
|
||||
|
||||
override fun toString(): String {
|
||||
return buildString {
|
||||
|
||||
Reference in New Issue
Block a user