1
0
This commit is contained in:
Jeff 2024-10-12 10:57:22 -04:00
parent ea0be43199
commit 2527cc2de7

View File

@ -1119,7 +1119,7 @@ impl<'src> Parser<'src> {
self.current_token = function_parser.current_token;
self.current_position = function_parser.current_position;
let function = Value::function(function_parser.take_chunk());
let function = Value::function(function_parser.chunk);
let function_end = self.current_position.1;
self.lexer.skip_to(function_end);