fix list index offset bug (#314)

This commit is contained in:
Mark Thom
2020-04-06 16:15:36 -06:00
parent 6299d41cda
commit a3c3afba48
3 changed files with 12 additions and 14 deletions

View File

@@ -1308,7 +1308,7 @@ impl MachineState {
Addr::HeapCell(_) | Addr::StackCell(..) |
Addr::AttrVar(..) | Addr::Stream(_) => {
v
}
}
Addr::PStrLocation(..) => {
if !self.flags.double_quotes.is_atom() {
l