[NI] Fix reporting UNSAFE_IMPLICIT_INVOKE_CALL diagnostic

This commit is contained in:
Dmitriy Novozhilov
2019-04-25 17:59:20 +03:00
committed by Mikhail Zarechenskiy
parent 251a02f71d
commit e6deaf3315
10 changed files with 56 additions and 5 deletions
@@ -526,6 +526,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
runTest("compiler/testData/diagnostics/tests/ReturnInFunctionWithoutBody.kt");
}
@TestMetadata("safeCall.kt")
public void testSafeCall() throws Exception {
runTest("compiler/testData/diagnostics/tests/safeCall.kt");
}
@TestMetadata("SafeCallInvoke.kt")
public void testSafeCallInvoke() throws Exception {
runTest("compiler/testData/diagnostics/tests/SafeCallInvoke.kt");