Fix incorrect unsupported error on synthetic extension call on LHS of ::

#KT-13271 Fixed
This commit is contained in:
Alexander Udalov
2016-08-09 19:54:04 +03:00
parent 9dc7e90e12
commit bd88b0941d
8 changed files with 67 additions and 12 deletions
@@ -1811,6 +1811,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("syntheticExtensionOnLHS.kt")
public void testSyntheticExtensionOnLHS() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/callableReference/bound/syntheticExtensionOnLHS.kt");
doTest(fileName);
}
@TestMetadata("valueOfTypeParameterType.kt")
public void testValueOfTypeParameterType() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/callableReference/bound/valueOfTypeParameterType.kt");