InlineCodegen: find virtual file using findVirtualFileWithHeader

This commit is contained in:
Natalia Ukhorskaya
2015-03-27 11:05:53 +03:00
parent ef6698bd52
commit 785f7e749f
6 changed files with 6 additions and 42 deletions
@@ -9,6 +9,7 @@ Compile bytecode for javaClass<String>()
Compile bytecode for javaClass<Int>()
Compile bytecode for 100.toInt()
Compile bytecode for 100.toLong()
Compile bytecode for args.sortBy { it }.size()
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0
@@ -24,4 +24,7 @@ fun main(args: Array<String>) {
// RESULT: 100: I
// EXPRESSION: 100.toLong()
// RESULT: 100: J
// RESULT: 100: J
// EXPRESSION: args.sortBy { it }.size()
// RESULT: 0: I