Fix type of reference to protected var

#KT-12982 Fixed
This commit is contained in:
Alexander Udalov
2016-07-21 15:42:23 +03:00
parent 6baf3ae737
commit 9ab8da2ef9
6 changed files with 86 additions and 2 deletions
@@ -2204,6 +2204,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("protectedVarFromClass.kt")
public void testProtectedVarFromClass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/callableReference/property/protectedVarFromClass.kt");
doTest(fileName);
}
@TestMetadata("returnTypeDependentOnGenericProperty.kt")
public void testReturnTypeDependentOnGenericProperty() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/callableReference/property/returnTypeDependentOnGenericProperty.kt");