Compare commits

...

2 Commits

Author SHA1 Message Date
_ bccd5fc3a7 Merge remote-tracking branch 'gitea/main' 2023-09-30 10:13:03 -05:00
_ be9cd1e5ac 📝 doc: improve error message 2023-09-30 10:12:31 -05:00
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ impl <'a> State <'a> {
},
Instruction::GetField (a, b, c) => {
let t = match self.reg (*b) {
Value::Nil => panic! ("R[B] must not be nil"),
Value::Nil => panic! ("R[B] must not be nil {}:{}", frame.block_idx, frame.program_counter),
Value::Table (t) => t,
_ => panic! ("R[B] must be a table"),
};