[FIR] Use SpecialNames.NO_NAME_PROVIDED everywhere

This commit is contained in:
Kirill Rakhman
2023-07-20 11:03:44 +02:00
committed by Space Team
parent 9e3ce9cf67
commit 47d0f3593a
4 changed files with 7 additions and 7 deletions
@@ -527,7 +527,7 @@ class FirElementSerializer private constructor(
function.name
}
is FirAnonymousFunction -> {
if (function.isLambda) SpecialNames.ANONYMOUS else Name.special("<no name provided>")
if (function.isLambda) SpecialNames.ANONYMOUS else SpecialNames.NO_NAME_PROVIDED
}
else -> throw AssertionError("Unsupported function: ${function.render()}")
}