Evaluate expression: check for syntactic errors

This commit is contained in:
Natalia Ukhorskaya
2014-05-14 11:46:12 +04:00
parent d70770afb2
commit 8c0f99001b
5 changed files with 38 additions and 0 deletions
@@ -0,0 +1,7 @@
LineBreakpoint created at syntacticError.kt:5
!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!;!RT_JAR! syntacticError.SyntacticErrorPackage
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
syntacticError.kt:4
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0
@@ -0,0 +1,9 @@
package syntacticError
fun main(args: Array<String>) {
//Breakpoint!
args.size
}
// EXPRESSION: args.
// RESULT: Expecting an element; looking at ERROR_ELEMENT '(1,6) in /fragment.kt