diff --git a/idea/testData/parameterInfo/functionCall/PrivateConstructor.kt b/idea/testData/parameterInfo/functionCall/PrivateConstructor.kt new file mode 100644 index 00000000000..3735c5bff59 --- /dev/null +++ b/idea/testData/parameterInfo/functionCall/PrivateConstructor.kt @@ -0,0 +1,9 @@ +class A private constructor(f: Boolean) { + constructor(): this(true) +} + +fun test() { + val a = A() +} + +//Text: (), Disabled: false, Strikeout: false, Green: true \ No newline at end of file diff --git a/idea/tests/org/jetbrains/kotlin/idea/parameterInfo/ParameterInfoTestGenerated.java b/idea/tests/org/jetbrains/kotlin/idea/parameterInfo/ParameterInfoTestGenerated.java index 3b927422fc2..7a70ab51694 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/parameterInfo/ParameterInfoTestGenerated.java +++ b/idea/tests/org/jetbrains/kotlin/idea/parameterInfo/ParameterInfoTestGenerated.java @@ -190,6 +190,12 @@ public class ParameterInfoTestGenerated extends AbstractParameterInfoTest { doTest(fileName); } + @TestMetadata("PrivateConstructor.kt") + public void testPrivateConstructor() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/parameterInfo/functionCall/PrivateConstructor.kt"); + doTest(fileName); + } + @TestMetadata("Simple.kt") public void testSimple() throws Exception { String fileName = JetTestUtils.navigationMetadata("idea/testData/parameterInfo/functionCall/Simple.kt");