| Index: runtime/vm/debugger.cc
|
| diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc
|
| index 61956fabe8c7b31c42c2cfa1d7ea355e3c4ea92b..44b156bd432875d1d93dde3305755bd1c3a948a8 100644
|
| --- a/runtime/vm/debugger.cc
|
| +++ b/runtime/vm/debugger.cc
|
| @@ -695,7 +695,7 @@ intptr_t ActivationFrame::ContextLevel() {
|
| const int8_t kind = var_info.kind();
|
| if ((kind == RawLocalVarDescriptors::kContextLevel) &&
|
| (var_info.begin_pos <= activation_token_pos) &&
|
| - (activation_token_pos <= var_info.end_pos)) {
|
| + (activation_token_pos < var_info.end_pos)) {
|
| // This var_descriptors_ entry is a context scope which is in scope
|
| // of the current token position. Now check whether it is shadowing
|
| // the previous context scope.
|
|
|