diff --git a/idea/src/org/jetbrains/kotlin/idea/codeInsight/KotlinCopyPasteReferenceProcessor.kt b/idea/src/org/jetbrains/kotlin/idea/codeInsight/KotlinCopyPasteReferenceProcessor.kt index b1ac111fd2d..41b654e851b 100644 --- a/idea/src/org/jetbrains/kotlin/idea/codeInsight/KotlinCopyPasteReferenceProcessor.kt +++ b/idea/src/org/jetbrains/kotlin/idea/codeInsight/KotlinCopyPasteReferenceProcessor.kt @@ -173,7 +173,7 @@ class KotlinCopyPasteReferenceProcessor : CopyPastePostProcessor/** + * @property param + */ +class Impl : Base(1) \ No newline at end of file diff --git a/idea/testData/copyPaste/imports/ClassWithDoc.to.kt b/idea/testData/copyPaste/imports/ClassWithDoc.to.kt new file mode 100644 index 00000000000..7d223189a32 --- /dev/null +++ b/idea/testData/copyPaste/imports/ClassWithDoc.to.kt @@ -0,0 +1,3 @@ +package goo + + \ No newline at end of file diff --git a/idea/tests/org/jetbrains/kotlin/idea/codeInsight/InsertImportOnPasteTestGenerated.java b/idea/tests/org/jetbrains/kotlin/idea/codeInsight/InsertImportOnPasteTestGenerated.java index 6a5a78d81da..9f051d6470f 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/codeInsight/InsertImportOnPasteTestGenerated.java +++ b/idea/tests/org/jetbrains/kotlin/idea/codeInsight/InsertImportOnPasteTestGenerated.java @@ -76,6 +76,11 @@ public class InsertImportOnPasteTestGenerated extends AbstractInsertImportOnPast runTest("idea/testData/copyPaste/imports/ClassType.kt"); } + @TestMetadata("ClassWithDoc.kt") + public void testClassWithDoc() throws Exception { + runTest("idea/testData/copyPaste/imports/ClassWithDoc.kt"); + } + @TestMetadata("ConflictForTypeWithTypeParameter.kt") public void testConflictForTypeWithTypeParameter() throws Exception { runTest("idea/testData/copyPaste/imports/ConflictForTypeWithTypeParameter.kt"); @@ -414,6 +419,11 @@ public class InsertImportOnPasteTestGenerated extends AbstractInsertImportOnPast runTest("idea/testData/copyPaste/imports/ClassType.kt"); } + @TestMetadata("ClassWithDoc.kt") + public void testClassWithDoc() throws Exception { + runTest("idea/testData/copyPaste/imports/ClassWithDoc.kt"); + } + @TestMetadata("ConflictForTypeWithTypeParameter.kt") public void testConflictForTypeWithTypeParameter() throws Exception { runTest("idea/testData/copyPaste/imports/ConflictForTypeWithTypeParameter.kt");