Files
kotlin-fork/idea/testData/editor/quickDoc/OnEmptySecondaryConstructor.kt
T
2020-06-25 14:42:03 +02:00

18 lines
462 B
Kotlin
Vendored

/**
Documentation is here.
*/
class Foo {
private var x: Int = 0
constructor(x: Int) {
this.x = x
} //secondary constructor without documentation
}
fun test() {
val f = Foo<caret>(10)
}
//INFO: <div class='definition'><pre><a href="psi_element://Foo"><code>Foo</code></a><br>public constructor <b>Foo</b>(
//INFO: x: Int
//INFO: )</pre></div><div class='content'><p>Documentation is here.</p></div><table class='sections'></table>