[NI] Take into account use-site variance for constraint from LHS of CR

#KT-32851 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2019-08-12 17:49:39 +03:00
parent 0620762b97
commit 1969ad6e9d
6 changed files with 81 additions and 11 deletions
@@ -1694,6 +1694,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
runTest("compiler/testData/diagnostics/tests/callableReference/classVsPackage.kt");
}
@TestMetadata("constraintFromLHSWithCorrectDirection.kt")
public void testConstraintFromLHSWithCorrectDirection() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/constraintFromLHSWithCorrectDirection.kt");
}
@TestMetadata("correctInfoAfterArrayLikeCall.kt")
public void testCorrectInfoAfterArrayLikeCall() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/correctInfoAfterArrayLikeCall.kt");