[FE 1.0] Don't fail on calls of functions with contracts from object

^KT-51704 Fixed
This commit is contained in:
Dmitriy Novozhilov
2022-05-12 14:03:58 +03:00
committed by teamcity
parent 993021a71d
commit 4d5a4ccd6b
7 changed files with 129 additions and 7 deletions
@@ -35747,6 +35747,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/externalArguments.kt");
}
@Test
@TestMetadata("functionInCompanion.kt")
public void testFunctionInCompanion() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/functionInCompanion.kt");
}
@Test
@TestMetadata("intersectingInfo.kt")
public void testIntersectingInfo() throws Exception {