Report interop functions with non-stable parameter names

^KT-34602
This commit is contained in:
Dmitriy Dolovov
2020-07-22 17:32:22 +07:00
parent 3d9093583f
commit b47946cbba
9 changed files with 217 additions and 9 deletions
@@ -51,7 +51,7 @@ class NonStableParameterNamesSerializationTest : TestCaseWithTmpdir() {
companion object {
private const val SOURCE_FILE = "compiler/testData/serialization/nonStableParameterNames/test.kt"
private fun collectCallablesForPatch(module: ModuleDescriptorImpl): List<FunctionDescriptorImpl> {
fun collectCallablesForPatch(module: ModuleDescriptorImpl): List<FunctionDescriptorImpl> {
fun DeclarationDescriptor.castToFunctionImpl(): FunctionDescriptorImpl =
assertedCast { "Not an instance of ${FunctionDescriptorImpl::class.java}: ${this::class.java}, $this" }