Debugger: Fix breakpoints and stepping on a first line (KT-33304)

This commit fixes the 'SmartStepIntoTestGenerated#testFunWithExpressionBody' test.
This commit is contained in:
Yan Zhulanow
2019-08-13 22:10:23 +09:00
parent c3e46ebe5c
commit 39662c09e9
6 changed files with 19 additions and 9 deletions
@@ -1,4 +1,4 @@
fun foo() {
fun foo() { /// M
require(true) { "foo" } /// *, L, λ
require(true) { val a = 5 } /// *, L, λ
@@ -1,4 +1,4 @@
fun foo1() {
fun foo1() { /// M
// We don't support function breakpoints for local functions yet
fun local() { /// L
println() /// L
@@ -1,4 +1,4 @@
class Foo1 {
class Foo1 { /// M
val x: String /// F, L
get() = "foo" /// M
}