Don't silently ignore argument mismatch for provide delegate

#KT-39816 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2020-06-26 11:04:43 +03:00
parent ea5fef76d1
commit a87b25d10e
9 changed files with 92 additions and 2 deletions
@@ -6186,6 +6186,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/overloadResolutionForSeveralProvideDelegates.kt");
}
@TestMetadata("provideDelegateOnFunctionalTypeWithThis.kt")
public void testProvideDelegateOnFunctionalTypeWithThis() throws Exception {
runTest("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/provideDelegateOnFunctionalTypeWithThis.kt");
}
@TestMetadata("provideDelegateOperatorDeclaration.kt")
public void testProvideDelegateOperatorDeclaration() throws Exception {
runTest("compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/provideDelegateOperatorDeclaration.kt");