Create from Usage: Support smart casts on explicit receivers

#KT-24069 Fixed
This commit is contained in:
Alexey Sedunov
2018-05-10 19:16:58 +03:00
parent a92a4a2a6d
commit a5a13b74f5
5 changed files with 43 additions and 4 deletions
@@ -3114,6 +3114,11 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
runTest("idea/testData/quickfix/createFromUsage/createFunction/call/qualifiedCallInStringTemplateRuntime.kt");
}
@TestMetadata("receiverWithSmartCast.kt")
public void testReceiverWithSmartCast() throws Exception {
runTest("idea/testData/quickfix/createFromUsage/createFunction/call/receiverWithSmartCast.kt");
}
@TestMetadata("refInImport.kt")
public void testRefInImport() throws Exception {
runTest("idea/testData/quickfix/createFromUsage/createFunction/call/refInImport.kt");