Extraction Engine: Support type parameter references

#KT-7260 Fixed
This commit is contained in:
Alexey Sedunov
2015-09-25 19:56:54 +03:00
parent aa080bf201
commit 78f7e6b459
10 changed files with 116 additions and 10 deletions
@@ -0,0 +1,17 @@
package typeParameterRef
fun main(args: Array<String>) {
test<Int>()
}
fun foo<U>(): Int {
return 1
}
fun test<T>() {
//Breakpoint!
val a = foo<T>()
}
// EXPRESSION: foo<T>()
// RESULT: 1: I