Files
kotlin-fork/idea/idea-completion/testData/basic/common/ExtensionWithGenericParamInReceiver.kt
T
Valentin Kipyatkov bb808b5620 Created module idea-test-framework and moved classes needed for idea tests there
Moved tests for completion and their test data into module idea-completion
2015-04-14 18:53:01 +03:00

15 lines
379 B
Kotlin
Vendored

open class Base
open class OtherBase
class Some<T>
fun <TSome : Base, R : Base> Some<TSome>.extensionBase(param: R) = "Test"
fun <TSome : OtherBase, R : OtherBase> Some<TSome>.extensionOtherBase(param: R) = "Test"
fun <TSome> Some<TSome>.extensionExact() = "Test"
fun test() {
Some<Base>().ex<caret>
}
// EXIST: extensionBase, extensionExact
// ABSENT: extensionOtherBase