Debugger: check that label for marked object is a valid java identifier (KT-12651)

#KT-12651 Fixed
This commit is contained in:
Natalia Ukhorskaya
2016-07-15 16:12:06 +03:00
committed by Nikolay Krasko
parent 5ea74ed562
commit 3cbe28095b
5 changed files with 39 additions and 3 deletions
@@ -0,0 +1,20 @@
package lIdentifier
fun main(args: Array<String>) {
val a = 1
val b = 1
val c = 1
val d = 1
val e = 1
//Breakpoint!
val f = 1
}
// DEBUG_LABEL: a = 0
// DEBUG_LABEL: b = <no_name>
// DEBUG_LABEL: c = for
// DEBUG_LABEL: d = *
// DEBUG_LABEL: e = e-e
// EXPRESSION: a
// RESULT: 1: I