FIR: Properly support local functions in DEBUG_INFO_CALL

This commit is contained in:
Denis Zharkov
2020-04-15 18:32:43 +03:00
parent fa3b3e7a9a
commit 65e444a39c
5 changed files with 52 additions and 7 deletions
@@ -215,7 +215,7 @@ abstract class AbstractFirDiagnosticsTest : AbstractFirBaseDiagnosticsTest() {
private fun AbstractFirBasedSymbol<*>.fqNameUnsafe(): FqNameUnsafe? = when (this) {
is FirClassLikeSymbol<*> -> classId.asSingleFqName().toUnsafe()
is FirCallableSymbol<*> -> callableId.asFqName().toUnsafe()
is FirCallableSymbol<*> -> callableId.asFqNameForDebugInfo().toUnsafe()
else -> null
}