fix: keyword argument bugs

This commit is contained in:
Shunsuke Shibayama 2023-12-29 17:00:11 +09:00
parent 21283b668e
commit 80872fc50e
14 changed files with 166 additions and 74 deletions

View file

@ -1214,7 +1214,7 @@ impl Context {
vec![],
);
let sig = Signature::Subr(sig);
let call = Identifier::private("p!").call(Args::empty());
let call = Identifier::public("p!").call(Args::empty());
let block = Block::new(vec![Expr::Call(call)]);
let body = DefBody::new(Token::DUMMY, block, DefId(0));
let perform = Def::new(sig, body);