FIR IDE: add cases for diagnostics traversal test
This commit is contained in:
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
val x = run {
|
||||
val inLambda = 10
|
||||
println(inLambda)
|
||||
inLambda
|
||||
}
|
||||
+5
@@ -59,6 +59,11 @@ public class DiagnosticTraversalCounterTestGenerated extends AbstractDiagnosticT
|
||||
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/diagnosticTraversalCounter/initBlock.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambda.kt")
|
||||
public void testLambda() throws Exception {
|
||||
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/diagnosticTraversalCounter/lambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localDeclarationsInAccessor.kt")
|
||||
public void testLocalDeclarationsInAccessor() throws Exception {
|
||||
runTest("idea/idea-frontend-fir/idea-fir-low-level-api/testdata/diagnosticTraversalCounter/localDeclarationsInAccessor.kt");
|
||||
|
||||
Reference in New Issue
Block a user