Fix getting right bracket element for collection literal
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
val abc = <caret>[1, 2, 3]
|
||||
|
||||
// REF: (kotlin).arrayOf(vararg T)
|
||||
@@ -0,0 +1,3 @@
|
||||
val abc: IntArray = [1, 2, 3<caret>]
|
||||
|
||||
// REF: (kotlin).intArrayOf(vararg kotlin.Int)
|
||||
@@ -108,6 +108,18 @@ public class ReferenceResolveTestGenerated extends AbstractReferenceResolveTest
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("CollectionLiteralLeft.kt")
|
||||
public void testCollectionLiteralLeft() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/resolve/references/CollectionLiteralLeft.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("CollectionLiteralRight.kt")
|
||||
public void testCollectionLiteralRight() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/resolve/references/CollectionLiteralRight.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("CoroutineSuspensionPoint.kt")
|
||||
public void testCoroutineSuspensionPoint() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/resolve/references/CoroutineSuspensionPoint.kt");
|
||||
|
||||
Reference in New Issue
Block a user