Partial body resolve: added test for do-while
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
Resolve target: value-parameter val p: kotlin.Any?
|
||||
Skipped statements:
|
||||
@@ -0,0 +1,7 @@
|
||||
fun foo(p: Any?) {
|
||||
do {
|
||||
print(p!!)
|
||||
} while (x())
|
||||
|
||||
<caret>p.hashCode()
|
||||
}
|
||||
@@ -60,6 +60,12 @@ public class PartialBodyResolveTestGenerated extends AbstractPartialBodyResolveT
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("DoWhile.kt")
|
||||
public void testDoWhile() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/resolve/partialBodyResolve/DoWhile.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("For.kt")
|
||||
public void testFor() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/resolve/partialBodyResolve/For.kt");
|
||||
|
||||
Reference in New Issue
Block a user