From 4ff779c298a2c131f9585791a853ec46af2ba735 Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Thu, 18 May 2023 22:32:05 +0200 Subject: [PATCH] Update parser/src/python.lalrpop Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com> --- parser/src/python.lalrpop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/src/python.lalrpop b/parser/src/python.lalrpop index a53c43a3e5..3de5197d86 100644 --- a/parser/src/python.lalrpop +++ b/parser/src/python.lalrpop @@ -964,7 +964,7 @@ WithItem: ast::Withitem = { }; FuncDef: ast::Stmt = { - "def" " >)?> ":" => { + "def" " >)?> ":" => { let args = Box::new(args); let returns = r.map(|x| Box::new(x)); let end_location = body.last().unwrap().end();