Check OOB stays the same for string in super type constructor call
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// FALSE
|
||||
|
||||
abstract class S(val f: () -> Unit)
|
||||
|
||||
fun foo(s: String, f: () -> Unit) {}
|
||||
|
||||
class ST : S(
|
||||
{
|
||||
foo("a <caret>test calculator") {
|
||||
|
||||
}
|
||||
})
|
||||
+6
@@ -257,4 +257,10 @@ public class OutOfBlockModificationTestGenerated extends AbstractOutOfBlockModif
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/codeInsight/outOfBlock/PropertyWithType_Initializer_String.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("StringInSuperConstroctorCall.kt")
|
||||
public void testStringInSuperConstroctorCall() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/codeInsight/outOfBlock/StringInSuperConstroctorCall.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user