We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4b5408 commit ab3862dCopy full SHA for ab3862d
vm/src/frame.rs
@@ -612,7 +612,10 @@ impl ExecutingFrame<'_> {
612
if fastlocals[idx].is_none() {
613
return Err(vm.new_exception_msg(
614
vm.ctx.exceptions.unbound_local_error.to_owned(),
615
- format!("local variable '{}' referenced before assignment", self.code.varnames[idx]),
+ format!(
616
+ "local variable '{}' referenced before assignment",
617
+ self.code.varnames[idx]
618
+ ),
619
));
620
}
621
fastlocals[idx] = None;
0 commit comments