store unsubstituted descriptor as REFERENCE_TARGET
This commit is contained in:
@@ -27,6 +27,8 @@ package testData.libraries
|
||||
|
||||
[public fun func(str: jet.String): jet.Unit { /* compiled code */ }]
|
||||
|
||||
[public fun <T> genericFunc(): T { /* compiled code */ }]
|
||||
|
||||
[public fun main(args: jet.Array<jet.String>): jet.Unit { /* compiled code */ }]
|
||||
|
||||
[public fun processDouble(d: jet.Double): jet.Unit { /* compiled code */ }]
|
||||
|
||||
@@ -102,6 +102,8 @@ public fun func() {
|
||||
public fun func(cs : CharSequence) {
|
||||
}
|
||||
|
||||
public fun <T> genericFunc() : T = throw Exception()
|
||||
|
||||
public inline fun <T> T.filter(predicate: (T)-> Boolean) : T? = this
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
import testData.libraries.*
|
||||
|
||||
fun test() {
|
||||
genericFunc<String>()
|
||||
}
|
||||
|
||||
// main.kt
|
||||
//public fun <T> <1>genericFunc() : T = throw Exception()
|
||||
@@ -0,0 +1,9 @@
|
||||
import testData.libraries.*
|
||||
|
||||
|
||||
fun test() {
|
||||
val s : String = genericFunc()
|
||||
}
|
||||
|
||||
// main.kt
|
||||
//public fun <T> <1>genericFunc() : T = throw Exception()
|
||||
Reference in New Issue
Block a user