Evaluate expression: check for errors before running extract function for code fragment

This commit is contained in:
Natalia Ukhorskaya
2014-10-09 11:41:09 +04:00
parent 410d5deb1c
commit f9f4aefb2a
3 changed files with 31 additions and 25 deletions
@@ -21,6 +21,9 @@ open class Base {
// EXPRESSION: a
// RESULT: Unresolved reference: a
// EXPRESSION: a + 1
// RESULT: Unresolved reference: a
// EXPRESSION: prop.
// RESULT: Expecting an element; looking at ERROR_ELEMENT '(1,6) in /fragment.kt