FIR: Fix incorrectly serialized type

See the test added: there's a non-denotable T!! type inside flexible type
that wasn't handled before.

ConeKotlinType::contains handles flexible types content and some other cases
Also, it has better asymptotics
This commit is contained in:
Denis.Zharkov
2021-01-28 18:15:15 +03:00
parent 1e0d9f4075
commit 7e6abffb62
10 changed files with 84 additions and 16 deletions
@@ -74,7 +74,6 @@ public class ClassFileToSourceStubConverterTestGenerated extends AbstractClassFi
runTest("plugins/kapt3/kapt3-compiler/testData/converter/comments.kt");
}
/** Regression test for KT-43593. */
@TestMetadata("commentsRemoved.kt")
public void testCommentsRemoved() throws Exception {
runTest("plugins/kapt3/kapt3-compiler/testData/converter/commentsRemoved.kt");
@@ -75,7 +75,6 @@ public class IrClassFileToSourceStubConverterTestGenerated extends AbstractIrCla
runTest("plugins/kapt3/kapt3-compiler/testData/converter/comments.kt");
}
/** Regression test for KT-43593. */
@TestMetadata("commentsRemoved.kt")
public void testCommentsRemoved() throws Exception {
runTest("plugins/kapt3/kapt3-compiler/testData/converter/commentsRemoved.kt");