diff --git a/boa_engine/src/vm/code_block.rs b/boa_engine/src/vm/code_block.rs index 68ab9221308..66b4ee9f248 100644 --- a/boa_engine/src/vm/code_block.rs +++ b/boa_engine/src/vm/code_block.rs @@ -280,7 +280,7 @@ impl CodeBlock { let operand = self.read::(*pc); *pc += size_of::() + size_of::(); format!( - "{operand:04}: '{:?}' (length: {})", + "{operand:04}: '{}' (length: {})", interner.resolve_expect(self.functions[operand as usize].name), self.functions[operand as usize].length )