Return correct PSI expression for EmptyLabeledReturn

Fixes diagnostic reporting for appropriate constraint error
#kt-32792 fixed
This commit is contained in:
Ilya Chernikov
2020-01-21 17:41:44 +01:00
parent ca150005a8
commit a1acb4afaf
7 changed files with 40 additions and 1 deletions
@@ -17781,6 +17781,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/regressions/kt32507.kt");
}
@TestMetadata("kt32792.kt")
public void testKt32792() throws Exception {
runTest("compiler/testData/diagnostics/tests/regressions/kt32792.kt");
}
@TestMetadata("kt328.kt")
public void testKt328() throws Exception {
runTest("compiler/testData/diagnostics/tests/regressions/kt328.kt");