Fix exception in EE for inline function invocation

#KT-10217 Fixed
This commit is contained in:
Natalia Ukhorskaya
2015-12-04 11:07:14 +03:00
parent 58d62fde4d
commit d10c3ffbe4
4 changed files with 17 additions and 6 deletions
@@ -3,6 +3,7 @@ LineBreakpoint created at inlineFunction.kt:7
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
inlineFunction.kt:7
Compile bytecode for myFun { 1 }
Compile bytecode for foo()
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0
@@ -7,5 +7,10 @@ fun main(args: Array<String>) {
val a = 1
}
inline fun foo() = 1
// EXPRESSION: myFun { 1 }
// RESULT: 1: I
// EXPRESSION: foo()
// RESULT: 1: I