[FIR] Reproduce KT-65337
^KT-65337
This commit is contained in:
committed by
Space Team
parent
6ed7c041b4
commit
7f42596935
+6
@@ -825,6 +825,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/LValueAssignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("labledLambda.kt")
|
||||
public void testLabledLambda() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/labledLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LiteralAsResult.kt")
|
||||
public void testLiteralAsResult() throws Exception {
|
||||
|
||||
+6
@@ -825,6 +825,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/LValueAssignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("labledLambda.kt")
|
||||
public void testLabledLambda() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/labledLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LiteralAsResult.kt")
|
||||
public void testLiteralAsResult() throws Exception {
|
||||
|
||||
+6
@@ -825,6 +825,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/LValueAssignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("labledLambda.kt")
|
||||
public void testLabledLambda() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/labledLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LiteralAsResult.kt")
|
||||
public void testLiteralAsResult() throws Exception {
|
||||
|
||||
+6
@@ -825,6 +825,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/LValueAssignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("labledLambda.kt")
|
||||
public void testLabledLambda() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/labledLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LiteralAsResult.kt")
|
||||
public void testLiteralAsResult() throws Exception {
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
// ISSUE: KT-65337
|
||||
|
||||
inline fun bar(s: () -> Unit) {
|
||||
(<!UNRESOLVED_REFERENCE!><!UNDERSCORE_IS_RESERVED!>_<!>@ s<!>)()
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
// ISSUE: KT-65337
|
||||
|
||||
inline fun bar(s: () -> Unit) {
|
||||
(<!REDUNDANT_LABEL_WARNING!><!UNDERSCORE_IS_RESERVED!>_<!>@<!> s)()
|
||||
}
|
||||
Generated
+6
@@ -825,6 +825,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
runTest("compiler/testData/diagnostics/tests/LValueAssignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("labledLambda.kt")
|
||||
public void testLabledLambda() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/labledLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LiteralAsResult.kt")
|
||||
public void testLiteralAsResult() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user