Report error instead of assertion when property is used as operator

#KT-34857 fixed
This commit is contained in:
Ilya Chernikov
2020-01-24 12:36:34 +01:00
parent a1acb4afaf
commit 9623b0eedb
9 changed files with 43 additions and 1 deletions
@@ -328,6 +328,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/kt310.kt");
}
@TestMetadata("kt34857.kt")
public void testKt34857() throws Exception {
runTest("compiler/testData/diagnostics/tests/kt34857.kt");
}
@TestMetadata("kt435.kt")
public void testKt435() throws Exception {
runTest("compiler/testData/diagnostics/tests/kt435.kt");