Add a test for escaped names supported in the new evaluator (KT-29661)

This commit is contained in:
Yan Zhulanow
2019-02-05 15:52:00 +03:00
parent 51b26325c6
commit 34b03c45d7
3 changed files with 23 additions and 0 deletions
@@ -0,0 +1,10 @@
package escapedNames
fun main() {
val `one + one` = 1
//Breakpoint!
val a = 5
}
// EXPRESSION: `one + one` + 100
// RESULT: 101: I
@@ -0,0 +1,8 @@
LineBreakpoint created at escapedNames.kt:6
Run Java
Connected to the target VM
escapedNames.kt:6
Compile bytecode for `one + one` + 100
Disconnected from the target VM
Process finished with exit code 0