One more test added
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
interface C {
|
||||||
|
operator fun set(p: String, value: Int)
|
||||||
|
}
|
||||||
|
|
||||||
|
class D(val c: C) {
|
||||||
|
fun foo() {
|
||||||
|
this.c<caret>[""] = 10
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
interface C {
|
||||||
|
operator fun set(p: String, value: Int)
|
||||||
|
}
|
||||||
|
|
||||||
|
class D(val c: C) {
|
||||||
|
fun foo() {
|
||||||
|
this.c.set("", 10)
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -5859,6 +5859,12 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("assignment.kt")
|
||||||
|
public void testAssignment() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/operatorToFunction/assignment.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("binaryEqualsEqualsNullableOperands.kt")
|
@TestMetadata("binaryEqualsEqualsNullableOperands.kt")
|
||||||
public void testBinaryEqualsEqualsNullableOperands() throws Exception {
|
public void testBinaryEqualsEqualsNullableOperands() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/operatorToFunction/binaryEqualsEqualsNullableOperands.kt");
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/operatorToFunction/binaryEqualsEqualsNullableOperands.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user