Debugger: correctly box parameter types in case of generics

#KT-10180 Fixed
This commit is contained in:
Natalia Ukhorskaya
2015-12-01 14:31:30 +03:00
parent 280e00981f
commit 2bc2d81486
5 changed files with 33 additions and 1 deletions
@@ -0,0 +1,12 @@
package boxReturnValue
inline fun <X: Any> useInline(x: X) {
// EXPRESSION: x
// RESULT: instance of java.lang.Integer(id=ID): Ljava/lang/Integer;
//Breakpoint!
val a = 1
}
fun main(args: Array<String>) {
useInline(1)
}