Skip to content

Commit 01b2970

Browse files
authored
Minor fix for base index for list types. (#291)
1 parent 384e532 commit 01b2970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/execution/evaluator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ impl<'a> ScopeKey<'a> {
142142
match *self {
143143
ScopeKey::None => 0,
144144
ScopeKey::MapKey(_) => 1,
145-
ScopeKey::ListIndex(_) => 1,
145+
ScopeKey::ListIndex(_) => 0,
146146
}
147147
}
148148
}

0 commit comments

Comments
 (0)