Fix evaluation for captured inline classes (KT-28487)

This commit is contained in:
Yan Zhulanow
2018-11-28 16:10:21 +09:00
parent 27ea02929a
commit e12af0e2d1
4 changed files with 28 additions and 1 deletions
@@ -0,0 +1,12 @@
package inlineMethodsInSignature
inline class InlineMe(val x: Int)
fun main() {
val i = InlineMe(1)
//Breakpoint!
println()
}
// EXPRESSION: i
// RESULT: 1: I
@@ -0,0 +1,9 @@
LineBreakpoint created at inlineMethodsInSignature.kt:8
Run Java
Connected to the target VM
inlineMethodsInSignature.kt:8
Compile bytecode for i
Disconnected from the target VM
Process finished with exit code 0