mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
It is now possible after IJPL-43721 was fixed ^KTIJ-29428 Fixed GitOrigin-RevId: e63a910e998b45fcb78209255401399d0a345166
18 lines
849 B
Kotlin
18 lines
849 B
Kotlin
open class C() {
|
|
/**
|
|
* This method returns zero.
|
|
*/
|
|
open fun foo(): Int = 0
|
|
}
|
|
|
|
class D(): C() {
|
|
override fun foo(): Int = 1
|
|
}
|
|
|
|
|
|
fun test() {
|
|
D().f<caret>oo()
|
|
}
|
|
|
|
//INFO: <div class='definition'><pre><span style="color:#000080;font-weight:bold;">public</span> <span style="color:#000080;font-weight:bold;">open</span> <span style="color:#000080;font-weight:bold;">fun</span> <span style="color:#000000;">foo</span>()<span style="">: </span><span style="color:#000000;"><a href="psi_element://kotlin.Int">Int</a></span></pre></div><div class='content'><p style='margin-top:0;padding-top:0;'>This method returns zero.</p></div><table class='sections'></table><div class='bottom'><icon src="KotlinBaseResourcesIcons.ClassKotlin"/> <a href="psi_element://D"><code><span style="color:#000000;">D</span></code></a><br/></div>
|