"Convert to secondary constructor": Fix false positive with delegation #KT-27061 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-09-26 12:15:27 +09:00
committed by Mikhail Glukhikh
parent af1fc5b668
commit c1013cc198
3 changed files with 12 additions and 1 deletions
@@ -5755,6 +5755,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
runTest("idea/testData/intentions/convertPrimaryConstructorToSecondary/defaultValueChain.kt");
}
@TestMetadata("delegation.kt")
public void testDelegation() throws Exception {
runTest("idea/testData/intentions/convertPrimaryConstructorToSecondary/delegation.kt");
}
@TestMetadata("enum.kt")
public void testEnum() throws Exception {
runTest("idea/testData/intentions/convertPrimaryConstructorToSecondary/enum.kt");