Scope function conversion: do not suggest when invoked without receiver
#KT-35525 Fixed
This commit is contained in:
committed by
Ilya Kirillov
parent
8ba5548a0f
commit
f3be3f449a
+5
@@ -12246,6 +12246,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
|
||||
runTest("idea/testData/inspectionsLocal/scopeFunctions/runToLet/capturedIt.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noReceiver.kt")
|
||||
public void testNoReceiver() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/scopeFunctions/runToLet/noReceiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/scopeFunctions/runToLet/simple.kt");
|
||||
|
||||
Reference in New Issue
Block a user