KT-11679 Fixed exception at ResolvedCallImpl.getArgumentMapping()
#KT-11679 Fixed Also fixed EA-75913 EA-78908
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// ERROR: Expression 'f' of type 'String' cannot be invoked as a function. The function 'invoke()' is not found
|
||||
// IS_APPLICABLE: false
|
||||
class Paren(val f: String) {
|
||||
}
|
||||
|
||||
fun nonSimple() {
|
||||
Paren("").f(<caret>6)
|
||||
}
|
||||
@@ -295,6 +295,12 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("kt11679.kt")
|
||||
public void testKt11679() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/addNameToArgument/kt11679.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("notInsideIndices.kt")
|
||||
public void testNotInsideIndices() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/addNameToArgument/notInsideIndices.kt");
|
||||
|
||||
Reference in New Issue
Block a user