Fix tests after adding lineNumber for functions without return expression

This commit is contained in:
Natalia Ukhorskaya
2014-11-07 16:45:04 +03:00
parent 323df9498a
commit 42257218b6
10 changed files with 13 additions and 10 deletions
@@ -3,7 +3,7 @@ LineBreakpoint created at withoutBodyFunctions.kt:15
LineBreakpoint created at withoutBodyFunctions.kt:21
LineBreakpoint created at withoutBodyFunctions.kt:27
LineBreakpoint created at withoutBodyFunctions.kt:32
LineBreakpoint created at withoutBodyFunctions.kt:36
LineBreakpoint created at withoutBodyFunctions.kt:37
!JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !APP_PATH!\classes;!KOTLIN_RUNTIME!;!CUSTOM_LIBRARY!;!RT_JAR! withoutBodyFunctions.WithoutBodyFunctionsPackage
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
withoutBodyFunctions.kt:9
@@ -16,6 +16,8 @@ withoutBodyFunctions.kt:27
Compile bytecode for i
withoutBodyFunctions.kt:32
Compile bytecode for i
withoutBodyFunctions.kt:37
Compile bytecode for i
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0
@@ -31,7 +31,8 @@ fun foo(i: Int) = i
//Breakpoint!
fun fooOneLine(i: Int): Int { return 1 }
// Cannot stop at this breakpoint - empty body
// EXPRESSION: i
// RESULT: 2: I
//Breakpoint!
fun fooEmpty(i: Int) {}