Navigate to source when functions differ only in upper bounds of type parameters.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import testData.libraries.*
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
funWithTypeParam(1)
|
||||
funWithTypeParam("")
|
||||
}
|
||||
|
||||
// main.kt
|
||||
//public fun <T: CharSequence> <2>funWithTypeParam(t: T) {
|
||||
//}
|
||||
//
|
||||
//public fun <T: Number> <1>funWithTypeParam(t: T) {
|
||||
Reference in New Issue
Block a user