[NI] Support @OnlyInputTypes annotation. #KT-29307 fixed

Also KT-26698 fixed in new inference
This commit is contained in:
Dmitriy Novozhilov
2019-03-11 15:24:27 +03:00
parent 0ba163d70b
commit 9062811231
20 changed files with 210 additions and 31 deletions
@@ -2693,6 +2693,16 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/internalAnnotationsOnTypes.kt");
}
@TestMetadata("kt26698.kt")
public void testKt26698() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/kt26698.kt");
}
@TestMetadata("kt29307.kt")
public void testKt29307() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/kt29307.kt");
}
@TestMetadata("noInferAndLowPriority.kt")
public void testNoInferAndLowPriority() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/noInferAndLowPriority.kt");